java - Could not load org.bouncycastle.jce.provider.JDKKeyPairGenerator$RSABeanInfo -
while build application getting below error. search online, did not find solution ..........
apr 05, 2013 2:46:34 org.apache.catalina.loader.webappclassloader validatejarfile info: validatejarfile(/cisco/software/apache-tomcat-7.0.37/webapps/rmsportal-0.1/web-inf/lib/javax.servlet-api-3.0.1.jar) - jar not loaded. see servlet spec 2.3, section 9.7.2. offending class: javax/servlet/servlet.class apr 05, 2013 2:46:46 org.apache.catalina.loader.webappclassloader loadclass info: illegal access: web application instance has been stopped already. not load org.bouncycastle.jce.provider.jdkkeypairgenerator$rsabeaninfo. eventual following stack trace caused error thrown debugging purposes attempt terminate thread caused illegal access, , has no functional impact. java.lang.illegalstateexception @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1599) @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1558) @ java.lang.class.forname0(native method) @ java.lang.class.forname(class.java:264) . . . @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1004) @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:589) @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:310) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1110) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:603) @ java.lang.thread.run(thread.java:722) apr 05, 2013 2:47:11 org.apache.catalina.core.standardcontext startinternal severe: error listenerstart apr 05, 2013 2:47:11 org.apache.catalina.core.standardcontext startinternal severe: context [/rmsportal-0.1] startup failed due previous errors apr 05, 2013 2:47:11 org.apache.catalina.loader.webappclassloader clearreferencesjdbc severe: web application [/rmsportal-0.1] registered jdbc driver [org.h2.driver] failed unregister when web application stopped. prevent memory leak, jdbc driver has been forcibly unregistered.
the root cause may following line
info: validatejarfile(/cisco/software/apache-tomcat-7.0.37/.../web-inf/lib/ javax.servlet-api-3.0.1.jar) - jar not loaded. see servlet spec 2.3, section 9.7.2. offending class: javax/servlet/servlet.class info: illegal access: web application instance has been stopped already.
i understand have configure javax.servlet-api-3.0.1
compile
scope. please try change provided
scope.
i hope may help.
Comments
Post a Comment