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

JIRA | Kostas Karkaletsis | 4 years ago
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0
  2. 0

    The configuration manager reads properties from a database and therefore needs Hibernate dependencies to work correctly. There are lots of Hibernate dependencies in the POM file. However they are not included in the packaged jar file. Only these dependencies are included in the jar {code} <configuration> <artifactSet> <includes> <include>mysql:mysql-connector-java</include> <include>postgresql:postgresql</include> </includes> </artifactSet> </configuration> {code} This leads to fatal runtime errors in other components that use the config manager. For example, TRC-STS uses the configuration manager and there are runtime exceptions that Hibernate.Session class is not found. {code} Mar 22, 2013 1:46:57 PM doGet SEVERE: caught throwable java.lang.NoClassDefFoundError: org/hibernate/Session at epsos.ccd.gnomon.configmanager.ConfigurationManagerService.getProperty( at epsos.ccd.netsmart.securitymanager.key.impl.DefaultKeyStoreManager.<init>( at epsos.ccd.netsmart.securitymanager.SamlTRCIssuer.<init>( at epsos.ccd.netsmart.securitymanager.sts.STSService.invoke( at epsos.ccd.netsmart.securitymanager.sts.STSService.invoke( at$1.invokeProvider( at$2.invokeProvider( at at at at at at$2.process( at$HttpToolkit.handle( at at at at at at javax.servlet.http.HttpServlet.service( at javax.servlet.http.HttpServlet.service( {code} This is a blocking issue. We cannot perform PPT because this occurs in latest 1.1.2 components.

    JIRA | 4 years ago | Gareth Woodham
    java.lang.NoClassDefFoundError: org/hibernate/Session
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError


      at epsos.ccd.gnomon.configmanager.ConfigurationManager.getProperty()
    2. epsos.ccd.gnomon
      1. epsos.ccd.gnomon.configmanager.ConfigurationManager.getProperty(
      2. epsos.ccd.gnomon.configmanager.ConfigurationManagerService.getProperty(
      2 frames
    3. epsos.ccd.netsmart
      1. epsos.ccd.netsmart.securitymanager.key.impl.DefaultKeyStoreManager.<init>(
      2. epsos.ccd.netsmart.securitymanager.SamlTRCIssuer.<init>(
      3. epsos.ccd.netsmart.securitymanager.sts.STSService.invoke(
      4. epsos.ccd.netsmart.securitymanager.sts.STSService.invoke(
      4 frames
    4. JAX-WS RI Runtime Bundle
      3 frames