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

  1. 0

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

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

    Problems migrate project from JDK 1.5 to JDK 1.7 & JBOSS 7.1

    Stack Overflow | 4 years ago | ksharma
    java.lang.ClassNotFoundException: org.josql.contrib.JoSQLJSPQueryTag from [Module "deployment.apm_ws_jboss7.war:main" from Service Module Loader]
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problemi deploy war liferay-portal-6.2-ce-ga2 su Jboss 7.1.1 - Forums | Liferay

    liferay.com | 2 years ago
    com.liferay.portal.spring.context.PortalContextLoaderListener: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator#0' defined in class path resource [META-INF/base-spring.xml]: Cannot resolve reference to bean 'counterTransactionAdvice' while setting bean property 'methodInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterTransactionAdvice' defined in class path resource [META-INF/base-spring.xml]: Cannot resolve reference to bean 'counterTransactionManager' while setting bean property 'platformTransactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterTransactionManager' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'counterDataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSource' defined in class path resource [META-INF/counter-spring.xml]: Cannot resolve reference to bean 'counterDataSourceWrapper' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSourceWrapper' defined in class path resource [META-INF/counter-spring.xml]: Cannot resolve reference to bean 'counterDataSourceImpl' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSourceImpl' defined in class path resource [META-INF/counter-spring.xml]: Invocation of init method failed; nested exception is java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver from [Module "deployment.ROOT.war:main" from Service Module Loader]
  6. 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)]

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