java - Tomcat Server Publishing issue in eclipse -
when trying start server getting below exception
could not publish server.java.lang.indexoutofboundsexception
technologies
jsf2,primefaces3.5,tomcat7,java7,gson2.2.4
oprating system
ubuntu13+
ide
eclipse kepler
i noticed when removing gson2.2.4.jar working fine after adding jar nothing working , server not started.
i found issue when adding in pom.xml
<dependency> <groupid>com.google.code.gson</groupid> <artifactid>gson</artifactid> <version>2.2.4</version> </dependency>
its creating issue when run mvn install
got error
[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)
so replaced dependency one
<dependency> <groupid>com.google.code.gson</groupid> <artifactid>gson</artifactid> <version>2.2.2</version> </dependency>
now works fine.
Comments
Post a Comment