com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [javax.persistence.EntityManager] is defined: No beans of type javax.persistence.EntityManager; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@14c749b: display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@14c749b]; startup date [Wed Feb 24 17:11:33 EET 2010]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@12896bb

Oracle Community | mcalpay | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    No unique bean of type [javax.persistence.EntityManager]

    Oracle Community | 7 years ago | mcalpay
    com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [javax.persistence.EntityManager] is defined: No beans of type javax.persistence.EntityManager; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@14c749b: display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@14c749b]; startup date [Wed Feb 24 17:11:33 EET 2010]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@12896bb
  2. 0

    No unique bean of type [javax.persistence.EntityManager]

    Oracle Community | 7 years ago | mcalpay
    com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [javax.persistence.EntityManager] is defined: No beans of type javax.persistence.EntityManager; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@14c749b: display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@14c749b]; startup date [Wed Feb 24 17:11:33 EET 2010]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@12896bb

    Root Cause Analysis

    1. com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException

      No unique bean of type [javax.persistence.EntityManager] is defined: No beans of type javax.persistence.EntityManager; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@14c749b: display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@14c749b]; startup date [Wed Feb 24 17:11:33 EET 2010]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@12896bb

      at com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.getUniqueInstanceOfType()
    2. com.bea.core
      Jsr250Metadata.applyInjections
      1. com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.getUniqueInstanceOfType(Jsr250Metadata.java:305)
      2. com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.resolveByType(Jsr250Metadata.java:299)
      3. com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.resolve(Jsr250Metadata.java:286)
      4. com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.applyInjections(Jsr250Metadata.java:238)
      4 frames