StandardWrapper.Throwable: java.lang.NoClassDefFoundError: Could not initialize class com.mycompany.myapp.common.persistence.HibernateUtil

hivmr.com | 9 months ago
tip
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

    jboss 7.0.1 hibernate javax.persistence.PersistenceException: No Persistence provider for EntityManager

    Stack Overflow | 6 years ago | user619804
    StandardWrapper.Throwable: java.lang.NoClassDefFoundError: Could not initialize class com.mycompany.myapp.common.persistence.HibernateUtil
  2. 0

    db:: 4.79::Re: No Persistence provider for EntityManager named dj

    hivmr.com | 9 months ago
    StandardWrapper.Throwable: java.lang.NoClassDefFoundError: Could not initialize class com.mycompany.myapp.common.persistence.HibernateUtil

    Root Cause Analysis

    1. StandardWrapper.Throwable

      java.lang.NoClassDefFoundError: Could not initialize class com.mycompany.myapp.common.persistence.HibernateUtil

      at com.mycompany.myapp.common.businessobjects.ServerSettings.GetServerSettings()
    2. com.mycompany.myapp
      JMSAnywhereServlet.init
      1. com.mycompany.myapp.common.businessobjects.ServerSettings.GetServerSettings(ServerSettings.java:92)[classes:]
      2. com.mycompany.myapp.common.jms.JMSListenerServletTemplate.init(JMSListenerServletTemplate.java:41)[classes:]
      3. com.mycompany.myapp.common.jms.JMSAnywhereServlet.init(JMSAnywhereServlet.java:179)[classes:]
      3 frames
    3. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202)[jbossweb-7.0.1.Final.jar:7.0.1.Final]
      2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102)[jbossweb-7.0.1.Final.jar:7.0.1.Final]
      3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3631)[jbossweb-7.0.1.Final.jar:7.0.1.Final]
      4. org.apache.catalina.core.StandardContext.start(StandardContext.java:3844)[jbossweb-7.0.1.Final.jar:7.0.1.Final]
      4 frames
    4. JBoss Web
      WebDeploymentService.start
      1. org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70)[jboss-as-web-7.0.1.Final.jar:7.0.1.Final]
      1 frame
    5. JBoss Modular Service Container
      ServiceControllerImpl$ClearTCCLTask.run
      1. org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
      2. org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
      2 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_26]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_26]
      3. java.lang.Thread.run(Thread.java:680)[:1.6.0_26]
      3 frames