javax.persistence.PersistenceException: Unable to build entity manager factory

openxava | conrado400 | 2 years 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

    OpenXava / Discussion / Ayuda (Español):Problemas con primeros pasos con XavaPro

    sourceforge.net | 2 years ago
    javax.persistence.PersistenceException: Unable to build entity manager factory
  2. 0

    Problemas con primeros pasos con XavaPro

    openxava | 2 years ago | conrado400
    javax.persistence.PersistenceException: Unable to build entity manager factory
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    'Unable to lookup JNDI name' in Hibernate 4.3.6 with Tomcat 8

    Stack Overflow | 3 years ago | Ariel
    org.hibernate.engine.jndi.JndiException: Unable to lookup JNDI name [jdbcConnector]
  5. 0

    NameNotFound Exception - Spring Boot (LATEST), Embedded Tomcat, JNDI

    Stack Overflow | 2 years ago | Matt Rkiouak
    org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
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. javax.naming.NameNotFoundException

    El nombre MundoAgromovilDS no este asociado a este contexto

    at org.apache.naming.NamingContext.lookup()
  2. Web Container Naming Utilities
    SelectorContext.lookup
    1. org.apache.naming.NamingContext.lookup(NamingContext.java:820)
    2. org.apache.naming.NamingContext.lookup(NamingContext.java:154)
    3. org.apache.naming.NamingContext.lookup(NamingContext.java:831)
    4. org.apache.naming.NamingContext.lookup(NamingContext.java:154)
    5. org.apache.naming.NamingContext.lookup(NamingContext.java:831)
    6. org.apache.naming.NamingContext.lookup(NamingContext.java:154)
    7. org.apache.naming.NamingContext.lookup(NamingContext.java:831)
    8. org.apache.naming.NamingContext.lookup(NamingContext.java:154)
    9. org.apache.naming.SelectorContext.lookup(SelectorContext.java:135)
    9 frames
  3. Java RT
    InitialContext.lookup
    1. javax.naming.InitialContext.lookup(InitialContext.java:421)
    1 frame
  4. org.hibernate.engine
    DatasourceConnectionProviderImpl.configure
    1. org.hibernate.engine.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:114)
    2. org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.configure(DatasourceConnectionProviderImpl.java:115)
    2 frames
  5. org.hibernate.boot
    StandardServiceRegistryImpl.configureService
    1. org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
    1 frame
  6. Hibernate
    JdbcServicesImpl.configure
    1. org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)
    2. org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)
    3. org.hibernate.engine.jdbc.internal.JdbcServicesImpl.buildJdbcConnectionAccess(JdbcServicesImpl.java:260)
    4. org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:94)
    4 frames
  7. org.hibernate.boot
    StandardServiceRegistryImpl.configureService
    1. org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
    1 frame
  8. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)
    2. org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)
    3. org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1887)
    4. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1845)
    4 frames
  9. org.hibernate.jpa
    EntityManagerFactoryBuilderImpl$4.perform
    1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:857)
    2. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850)
    2 frames
  10. org.hibernate.boot
    ClassLoaderServiceImpl.withTccl
    1. org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:425)
    1 frame
  11. org.hibernate.jpa
    HibernatePersistenceProvider.createEntityManagerFactory
    1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:849)
    2. org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:75)
    2 frames
  12. Hibernate EJB
    HibernatePersistence.createEntityManagerFactory
    1. org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:54)
    1 frame
  13. JavaEE 7
    Persistence.createEntityManagerFactory
    1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55)
    1 frame
  14. org.openxava.jpa
    XPersistence.createManager
    1. org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:197)
    2. org.openxava.jpa.XPersistence.createManager(XPersistence.java:112)
    2 frames
  15. org.openxava.annotations
    AnnotatedClassParser.getManagedClassNames
    1. org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingJPA(AnnotatedClassParser.java:2722)
    2. org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2637)
    2 frames
  16. com.openxava.naviox
    NaviOXFilter.init
    1. com.openxava.naviox.impl.MetaModuleFactory.createDefaultMetaModules(MetaModuleFactory.java:38)
    2. com.openxava.naviox.impl.MetaModuleFactory.createAll(MetaModuleFactory.java:26)
    3. com.openxava.naviox.impl.DB.createModules(DB.java:104)
    4. com.openxava.naviox.impl.DB.populateDB(DB.java:64)
    5. com.openxava.naviox.impl.DB.init(DB.java:30)
    6. com.openxava.naviox.Modules.init(Modules.java:38)
    7. com.openxava.naviox.web.NaviOXFilter.init(NaviOXFilter.java:24)
    7 frames
  17. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
    2. org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
    3. org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
    4. org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4797)
    5. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5473)
    6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    7. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    8. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    8 frames
  18. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames