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.

enter image description here

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

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -