org.apache.openejb.OpenEJBException: Creating application failed: /home/username/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test-web-hibernate: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence: org.hibernate.ejb.HibernatePersistence

kevinlee.io | 2 months ago
  1. 0

    Java EE Application Development using Tomcat, OpenEJB and Hibernate | Kevin's Blog

    lckymn.com | 1 year ago
    org.apache.openejb.OpenEJBException: Creating application failed: /home/username/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test-web-hibernate: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence: org.hibernate.ejb.HibernatePersistence
  2. 0

    Java Web Application Development | Kevin's Blog

    lckymn.com | 11 months ago
    org.apache.openejb.OpenEJBException: Creating application failed: /home/username/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test-web-hibernate: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence: org.hibernate.ejb.HibernatePersistence
  3. 0

    Hibernate | Kevin's Blog

    lckymn.com | 1 year ago
    org.apache.openejb.OpenEJBException: Creating application failed: /home/username/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test-web-hibernate: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence: org.hibernate.ejb.HibernatePersistence
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java EE Application Development using Tomcat, OpenEJB and Hibernate | Kevin's Blog

    lckymn.com | 5 months ago
    org.apache.openejb.OpenEJBException: Creating application failed: /home/username/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test-web-hibernate: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence: org.hibernate.ejb.HibernatePersistence
  6. 0

    Java EE Application Development using Tomcat, OpenEJB and Hibernate | Kevin's Blog

    kevinlee.io | 2 months ago
    org.apache.openejb.OpenEJBException: Creating application failed: /home/username/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/test-web-hibernate: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence: org.hibernate.ejb.HibernatePersistence
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.hibernate.ejb.HibernatePersistence

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    2 frames
  3. OpenEJB :: OSGi :: Core
    Assembler.createApplication
    1. org.apache.openejb.assembler.classic.PersistenceBuilder.createEntityManagerFactory(PersistenceBuilder.java:177)
    2. org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:482)
    3. org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:442)
    3 frames
  4. OpenEJB :: Assembly :: Tomcat :: Catalina
    GlobalListenerSupport.lifecycleEvent
    1. org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.start(TomcatWebAppBuilder.java:249)
    2. org.apache.openejb.tomcat.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:58)
    2 frames
  5. Glassfish Core
    ContainerBase$ContainerBackgroundProcessor.run
    1. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4339)
    3. org.apache.catalina.core.StandardContext.reload(StandardContext.java:3190)
    4. org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404)
    5. org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309)
    6. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
    7. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
    8. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
    9. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
    9 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame