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.
參考: