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

Stack Overflow | leon0399 | 5 months ago
  1. 0

    Duplicate XML entry | Hibernate orm.xml

    Stack Overflow | 5 months ago | leon0399
    javax.persistence.PersistenceException: Unable to build entity manager factory
  2. 0

    Clicking Subscribe... button on a Channel throws an exception

    https://bugzilla.redhat.com/bugzilla/ | 8 years ago | Charles Crouch
    java.lang.IllegalStateException: duplicate Id for a component _viewRoot:status
  3. 0

    Duplicate Component with same ID found in VIew

    Stack Overflow | 1 year ago | Kannan
    java.lang.IllegalStateException: duplicate Id for a component chgtype:ct3lbl1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    duplicate id

    Oracle Community | 9 years ago | 843844
    java.lang.IllegalStateException: duplicate Id for a component _id2
  6. 0

    [JBSEAM-3481] components.xml is read twice if the jboss-seam.jar is declared in application.xml as well as in manifest classpath - JBoss Issue Tracker

    jboss.org | 12 months ago
    java.lang.IllegalStateException: duplicate factory for: org.jboss.seam.web.webSession (duplicate is specified in components.xml)

    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.IllegalStateException

      Duplicate XML entry for ru.leon0399.podius.common.entity.AbstractEntity

      at org.hibernate.cfg.annotations.reflection.XMLContext.addClass()
    2. Hibernate
      XMLContext.addDocument
      1. org.hibernate.cfg.annotations.reflection.XMLContext.addClass(XMLContext.java:140)
      2. org.hibernate.cfg.annotations.reflection.XMLContext.addDocument(XMLContext.java:108)
      2 frames
    3. org.hibernate.boot
      MetadataBuildingProcess.complete
      1. org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl.<init>(AnnotationMetadataSourceProcessorImpl.java:93)
      2. org.hibernate.boot.model.process.spi.MetadataBuildingProcess$1.<init>(MetadataBuildingProcess.java:147)
      3. org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:141)
      3 frames
    4. org.hibernate.jpa
      HibernatePersistenceProvider.createEntityManagerFactory
      1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:857)
      2. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:884)
      3. org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:58)
      3 frames
    5. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55)
      2. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:39)
      2 frames
    6. ru.leon0399.podius
      Core.main
      1. ru.leon0399.podius.home.Core.run(Core.java:39)
      2. ru.leon0399.podius.home.Core.main(Core.java:34)
      2 frames