java.lang.IllegalStateException: No persistence units defined for bundle jpa2jms/1.0.0.SNAPSHOT.

aries-dev | Christian Schneider (JIRA) | 3 years ago
  1. 0

    [jira] [Created] (ARIES-1155) Error when OSGi container is stopped on aries jpa container No persistence units defined for bundle

    aries-dev | 3 years ago | Christian Schneider (JIRA)
    java.lang.IllegalStateException: No persistence units defined for bundle jpa2jms/1.0.0.SNAPSHOT.
  2. 0

    [jira] [Commented] (ARIES-1155) Error when OSGi container is stopped on aries jpa container No persistence units defined for bundle

    aries-dev | 3 years ago | Christian Schneider (JIRA)
    java.lang.IllegalStateException: No persistence units defined for bundle jpa2jms/1.0.0.SNAPSHOT.
  3. 0

    Karaf - User - Features/bundles for OpenJPA/JTA

    nabble.com | 11 months ago
    java.lang.IllegalStateException: No persistence units defined for bundle osa-dao/1.0.0.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring Data JPA with Hibernate mapping files

    Stack Overflow | 4 years ago | Thorsten Freie
    java.lang.IllegalStateException: No persistence units parsed from {classpath*:META-INF/persistence.xml}
  6. 0

    Spring JPA: org.springframework.beans.factory.BeanCreationException - Java - GUJ

    com.br | 11 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'impostoDao' defined in class path resource [br/com/rodrigomelo/melofogolin/dao/applicationContext.xml]: Cannot resolve reference to bean 'entityManagerFactory' while setting bean property 'entityManagerFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [br/com/rodrigomelo/melofogolin/dao/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: No persistence units parsed from {classpath*:META-INF/persistence.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

      No persistence units defined for bundle jpa2jms/1.0.0.SNAPSHOT.

      at org.apache.aries.jpa.container.unit.impl.ManagedPersistenceUnitInfoFactoryImpl.destroyPersistenceBundle()
    2. org.apache.aries
      PersistenceBundleManager.removedBundle
      1. org.apache.aries.jpa.container.unit.impl.ManagedPersistenceUnitInfoFactoryImpl.destroyPersistenceBundle(ManagedPersistenceUnitInfoFactoryImpl.java:60)
      2. org.apache.aries.jpa.container.impl.PersistenceBundleManager.removedBundle(PersistenceBundleManager.java:313)
      2 frames
    3. Apache Aries Util
      RecursiveBundleTracker.close
      1. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerRemoved(BundleHookBundleTracker.java:513)
      2. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerRemoved(BundleHookBundleTracker.java:433)
      3. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.untrack(BundleHookBundleTracker.java:834)
      4. org.apache.aries.util.tracker.hook.BundleHookBundleTracker.close(BundleHookBundleTracker.java:196)
      5. org.apache.aries.util.tracker.RecursiveBundleTracker.close(RecursiveBundleTracker.java:120)
      5 frames
    4. org.apache.aries
      PersistenceBundleManager.stop
      1. org.apache.aries.jpa.container.impl.PersistenceBundleManager.close(PersistenceBundleManager.java:140)
      2. org.apache.aries.jpa.container.impl.PersistenceBundleManager.stop(PersistenceBundleManager.java:643)
      2 frames
    5. Apache Felix Framework
      FrameworkStartLevelImpl.run
      1. org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
      2. org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
      3. org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
      4. org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
      4 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame