eclipse中将maven项目发布到tomcat报错时: Publishing failed Could not publish to the server. java.lang.IndexOutOfBoundsException. 可能的原因:The maven repository can be corrupt. It is best to remove the complete repository and update all projects in the workspace. 参考…