eclipse中的Tomcat Server Publishing问题

当我试图启动服务器时,我正在低于exception

Could not publish to the server.java.lang.IndexOutOfBoundsException 

技术

JSF2,Primefaces3.5,Tomcat7,Java7,GSON2.2.4

操作系统

Ubuntu13 +

IDE

蚀开普勒

我刚刚注意到当我删除GSON2.2.4.jar然后一切正常但是在添加这个jar之后没有任何工作甚至服务器都没有启动。

在此处输入图像描述

当我在pom.xml中添加它时,我发现了这个问题

   com.google.code.gson gson 2.2.4  

当我运行mvn install时它创建了这个问题我得到了这个错误

 [ERROR] error: error reading /home/hariom/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar; invalid LOC header (bad signature) 

所以我用这个替换了这个依赖

   com.google.code.gson gson 2.2.2  

现在一切正常。

。 我遇到了同样的问题。 我修复了它从pom.xml文件更新pom依赖项