classloader - Class Loader looking for wrong package class -


I have two applications on the Toccarette server (called App 1 and AP2) both in ESAPI-2.0-rc5.jar In the C: \ Tomcat7_0_29 \ webapps \ AppX \ WEB-INF \ lib folder. AP2 is using SAMML needs for opensaml-2.6.0.jar (inside C: \ tomcat7_0_29 \ webapps \ App2 \ WEB-INF \ lib folder).

Now every time I App1 that field try to encode data in the I, I java.lang.ClassNotFoundException: org.opensaml.ESAPISecurityConfig Getting the error. Many options have never tried and worked together. Please help

full stack trace:

  org.owasp.esapi.errors.ConfigurationException: java.lang.ClassNotFoundException: org.opensaml.ESAPISecurityConfig Security Configuration class (Org.opensaml) .ESAPISecurityConfig should be in the orbit path. On org.owasp.esapi.util.ObjFactory.make (objfactory.java113) org.owasp.esapi.ESAPI.security configuration (ESAPI.java:445) on org.owasp.esapi.ESAPI.encoder (ESAPI.java) 208) on xxx.xxx.xxxx.xx.removeBadChars (BaseObject.java:131) on xxx.xxx.xxxx.xx.convert (claim Uthilkjawaiar) at javax.servlet.http.HttpServlet.service (http Srclet. java: 641) at org.apache.catalina.core.ApplicationFilterChain org org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationFilterChain.java.305) at javax.servlet.http.HttpServlet.service (HttpServlet.java:722) on org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java.2525) on .apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:123) Ofeelatr (ApplicationFilterChain.java810) or ORG. apache.catalina.authenticator.AuthenticatorBase.invoke (athenticatorBase.java:472) on org.apache.catalina.core.StandardHostValve.invoke (Mankhostvilvkjawaiaraiti) on org.apache.catalina.valves.ErrorReportValve.invoke (Arro org.apache on org.apache.catalina.valves.AccessLogValve.invoke (AccessLogValve.java:927) on org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:118) on .catalina rReportValve.java:98) .connector. Org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process (AbstractProtocol.java; 86) at org.CoyoteAdapter.service (CoyoteAdapter.Java 407) at org.apache.coyote.http11.AbstractHttp11Processor.process (AbstractHttp11Processor.java:1001) at org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process Java on apache.tomcat.util.net.JIoEndpoint $ SocketProcessor.run (JIoEndpoint.java:310) java.util.concurrent.ThreadPoolExecutor.runWorker (unknown source) util.concurrent.ThreadPool Explorer JavaklangkThreadkrun (Unknown Source $ Worker.Run (Unknown Source)) By: java.lang.ClassNotFoundException: org.opensaml.ESAPISecurity configured at org.apache.catalina.loader.WebappClassLoader .loadClass (WebappClassLoader.java:1711) on Org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java1556) java.lang.Class.forName (unknown source on java.lang.Class.forName0 (Basic Law)) On org.owasp.esapi.util.ObjFactory.make (ObjFactory.java:85) ... 24 more    

  1. Ensure that the opensaml's library is on the orbit path. If this simple solution is not the case ...

  2. Take a look at the Mewen Repo for the recent release of opensaml:

    It seems that the opensaml library has dependency on SP 2.0.1, and it may be that ESAPI-2.0-rc5.jar relies on the dependence of Opensaml before your Can not clone the environment that is actually possible for anyone to try to download only the guidance, source of opensaml, and your ESAPI After updating your dependency management to point to the transaction, it is an attempt to make it. / html>

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -