java.lang.NoClassDefFoundError: org/apache/commons/lang/text/StrLookup

JIRA | Stéphane Spahni | 2 years ago
  1. 0

    Calling TRC-STS from epSOS-Web portal generates java.lang.NoClassDefFoundError: org/apache/commons/lang/text/StrLookup exception. Solution: ship with commons-lang-2.6.jar instead of commons-lang-2.1.jar java.lang.NoClassDefFoundError: org/apache/commons/lang/text/StrLookup at epsos.ccd.gnomon.configmanager.ConfigurationManager.getProperty(ConfigurationManager.java:89) at epsos.ccd.gnomon.configmanager.ConfigurationManagerService.getProperty(ConfigurationManagerService.java:60) at epsos.ccd.netsmart.securitymanager.key.impl.DefaultKeyStoreManager.<init>(DefaultKeyStoreManager.java:58) at epsos.ccd.netsmart.securitymanager.SamlTRCIssuer.<init>(SamlTRCIssuer.java:56) at epsos.ccd.netsmart.securitymanager.sts.STSService.invoke(STSService.java:156) at epsos.ccd.netsmart.securitymanager.sts.STSService.invoke(STSService.java:87) at com.sun.xml.ws.api.server.InstanceResolver$1.invokeProvider(InstanceResolver.java:256) at com.sun.xml.ws.server.InvokerTube$2.invokeProvider(InvokerTube.java:156) at com.sun.xml.ws.server.provider.SyncProviderInvokerTube.processRequest(SyncProviderInvokerTube.java:78) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:637) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:596) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:581) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:478) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:310) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:611) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:265) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.invokeAsync(ServletAdapter.java:189) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:190) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.text.StrLookup at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558) ... 38 more

    JIRA | 2 years ago | Stéphane Spahni
    java.lang.NoClassDefFoundError: org/apache/commons/lang/text/StrLookup
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    bouncycastle exception when receiving

    GitHub | 2 years ago | oskaremil
    java.lang.IllegalStateException: Unable to add Signer information. cannot create signer: class configured for Signature(provider: BC)cannot be found.
  4. 0

    Configuration problem with Hibernate and Spring

    Stack Overflow | 6 years ago | Loïc Guillois
    java.lang.ClassNotFoundException: org.springframework.orm.hibernate3.support.HibernateDaoSupport
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.commons.lang.text.StrLookup

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
    2 frames
  3. epsos.ccd.gnomon
    ConfigurationManagerService.getProperty
    1. epsos.ccd.gnomon.configmanager.ConfigurationManager.getProperty(ConfigurationManager.java:89)
    2. epsos.ccd.gnomon.configmanager.ConfigurationManagerService.getProperty(ConfigurationManagerService.java:60)
    2 frames
  4. epsos.ccd.netsmart
    STSService.invoke
    1. epsos.ccd.netsmart.securitymanager.key.impl.DefaultKeyStoreManager.<init>(DefaultKeyStoreManager.java:58)
    2. epsos.ccd.netsmart.securitymanager.SamlTRCIssuer.<init>(SamlTRCIssuer.java:56)
    3. epsos.ccd.netsmart.securitymanager.sts.STSService.invoke(STSService.java:156)
    4. epsos.ccd.netsmart.securitymanager.sts.STSService.invoke(STSService.java:87)
    4 frames
  5. JAX-WS RI Runtime Bundle
    WSServlet.doPost
    1. com.sun.xml.ws.api.server.InstanceResolver$1.invokeProvider(InstanceResolver.java:256)
    2. com.sun.xml.ws.server.InvokerTube$2.invokeProvider(InvokerTube.java:156)
    3. com.sun.xml.ws.server.provider.SyncProviderInvokerTube.processRequest(SyncProviderInvokerTube.java:78)
    4. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:637)
    5. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:596)
    6. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:581)
    7. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:478)
    8. com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:310)
    9. com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:611)
    10. com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:265)
    11. com.sun.xml.ws.transport.http.servlet.ServletAdapter.invokeAsync(ServletAdapter.java:189)
    12. com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155)
    13. com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:190)
    14. com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76)
    14 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    2 frames
  7. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    10 frames
  8. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    3 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:662)
    3 frames