maven发布到tomcat报错: Publishing failed Could not publish to the server. java.lang.IndexOutOfBoundsException

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.

参考:

1、https://stackoverflow.com/questions/20145399/eclipse-tomcat-7-java-lang-indexoutofboundsexception-on-publish

2、http://blog.csdn.net/jy_he/article/details/51838321

原文地址:https://www.cnblogs.com/KevinJasmine/p/7444122.html