javax.persistence.PersistenceException: [PersistenceUnit: HBOService] Unable to build EntityManagerFactory

  1. 0

    Jboss-as7 can't find oracle driver despite it being deployed

    Stack Overflow | 5 months ago | Daniel Calderon Mori
    javax.persistence.PersistenceException: [PersistenceUnit: HBOService] Unable to build EntityManagerFactory
  2. 0

    JBoss JPA trying to load non-entity class when setting up persistence context

    Stack Overflow | 2 years ago | fansonly
    java.lang.NoClassDefFoundError: javax/ws/rs/container/ContainerResponseFilter
  3. 0

    Exception registering instrumented class

    GitHub | 3 years ago | ryan-t
    java.lang.ClassNotFoundException: CLASSA from [Module "org.jboss.as.server:main" from local module loader @4b144220 (roots: JBOSS\modules)]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems with Kundera Neo4j on JBoss EAP 6.1.1

    GitHub | 3 years ago | janinko
    com.impetus.kundera.cache.CacheException: Could not find class com.impetus.kundera.cache.ehcache.EhCacheProvider. Check whether you spelled it correctly in persistence.xml
  6. 0

    Nested class not found at runtime

    GitHub | 4 years ago | ikasiuk
    java.lang.RuntimeException: java.lang.ClassNotFoundException: run.C from [Module "default:null" from Ceylon ModuleLoader: RootRepositoryManager: FileContentStore: /home/ivo/.ceylon/repo]

  1. pbabcsany 2 times, last 2 months ago
  2. Andreas Häber 40 times, last 2 months ago
  3. andyglick 92 times, last 1 week ago
  4. DannyDBag 2 times, last 6 months ago
  5. Reich 8 times, last 2 weeks ago
3 more registered users
74 unregistered visitors
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

    oracle.jdbc.OracleDriver from [Module "org.hibernate:main" from local module loader @778f9ba9 (roots: C:\Users\Developer1\Desktop\Development\Servers\jboss-as-7.1.1.Final\modules)]

    at org.jboss.modules.ModuleClassLoader.findClass()
  2. JBoss Modules
    ConcurrentClassLoader.loadClass
    1. org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
    2. org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
    3. org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
    4. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
    5. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
    5 frames
  3. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)[rt.jar:1.7.0_79]
    2. java.lang.Class.forName(Class.java:191)[rt.jar:1.7.0_79]
    2 frames
  4. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.internal.util.ReflectHelper.classForName(ReflectHelper.java:192)
    2. org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl.configure(DriverManagerConnectionProviderImpl.java:101)
    3. org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl.configure(DriverManagerConnectionProviderImpl.java:104)
    4. org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
    5. org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
    6. org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
    7. org.hibernate.engine.jdbc.internal.JdbcServicesImpl.buildJdbcConnectionAccess(JdbcServicesImpl.java:234)
    8. org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:91)
    9. org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
    10. org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
    11. org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
    12. org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71)
    13. org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2270)
    14. org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2266)
    15. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1735)
    15 frames
  5. Hibernate EJB
    HibernatePersistence.createContainerEntityManagerFactory
    1. org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84)
    2. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)
    3. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
    4. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)
    5. org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
    5 frames
  6. JPA
    PersistenceUnitServiceImpl.start
    1. org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)
    2. org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)
    2 frames
  7. JBoss Modular Service Container
    ServiceControllerImpl$StartTask.run
    1. org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    2. org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    2 frames