eclipse - Jar issue while deploying a war -


well have application building using maven , running on eclipse(tomcat runtime) , working fine. when deploy war of project on tomcat (not using eclipse), failing. error due coustome jar have included.

stack trace follows:-

aug 26, 2013 3:18:16 pm org.apache.catalina.core.standardcontext startinternal severe: error in dependencycheck java.io.ioexception: jar: smartcharging-model.jar     @ org.apache.catalina.util.extensionvalidator.validateapplication(extensionvalidator.java:207)     @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5256)     @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)     @ org.apache.catalina.manager.managerservlet.start(managerservlet.java:1256)     @ org.apache.catalina.manager.htmlmanagerservlet.start(htmlmanagerservlet.java:714)     @ org.apache.catalina.manager.htmlmanagerservlet.dopost(htmlmanagerservlet.java:219)     @ javax.servlet.http.httpservlet.service(httpservlet.java:647)     @ javax.servlet.http.httpservlet.service(httpservlet.java:728)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:305)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.filters.csrfpreventionfilter.dofilter(csrfpreventionfilter.java:212)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.filters.setcharacterencodingfilter.dofilter(setcharacterencodingfilter.java:108)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:222)     @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:123)     @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:611)     @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:171)     @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:99)     @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:953)     @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:118)     @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:408)     @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1023)     @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:589)     @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:312)     @ java.util.concurrent.threadpoolexecutor.runworker(unknown source)     @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source)     @ java.lang.thread.run(unknown source) caused by: java.util.zip.zipexception: invalid distance far     @ java.util.zip.inflaterinputstream.read(unknown source)     @ java.util.zip.zipinputstream.read(unknown source)     @ java.util.jar.jarinputstream.read(unknown source)     @ java.io.bufferedinputstream.read1(unknown source)     @ java.io.bufferedinputstream.read(unknown source)     @ java.util.jar.jarinputstream.getbytes(unknown source)     @ java.util.jar.jarinputstream.checkmanifest(unknown source)     @ java.util.jar.jarinputstream.<init>(unknown source)     @ java.util.jar.jarinputstream.<init>(unknown source)     @ org.apache.catalina.util.extensionvalidator.getmanifest(extensionvalidator.java:395)     @ org.apache.catalina.util.extensionvalidator.validateapplication(extensionvalidator.java:196)     ... 29 more  aug 26, 2013 3:18:16 pm org.apache.catalina.core.standardcontext startinternal severe: error getconfigured aug 26, 2013 3:18:16 pm org.apache.catalina.core.standardcontext startinternal severe: context [/smart-0.0.1-snapshot] startup failed due previous errors aug 26, 2013 3:18:16 pm org.apache.catalina.util.lifecyclebase stop info: stop() method called on component [webapploader[/smart-0.0.1-snapshot]] after stop() had been called. second call ignored. 

run

mvn clean install 

and code again


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -