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@135924c: display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@135924c]; startup date [Fri Jul 13 22:05:23 CEST 2012]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@8cf25e

Oracle Community | 954020 | 5 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

    EntityManager Missing When Restarting Application on WebLogic 12

    Oracle Community | 5 years ago | 954020
    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@135924c: display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@135924c]; startup date [Fri Jul 13 22:05:23 CEST 2012]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@8cf25e

    1 unregistered visitors

    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@135924c: display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@135924c]; startup date [Fri Jul 13 22:05:23 CEST 2012]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@8cf25e

      at com.oracle.pitchfork.inject.Jsr250Metadata.getUniqueInstanceOfType()
    2. com.oracle.pitchfork
      Jsr250Metadata.applyInjections
      1. com.oracle.pitchfork.inject.Jsr250Metadata.getUniqueInstanceOfType(Jsr250Metadata.java:351)
      2. com.oracle.pitchfork.inject.Jsr250Metadata.resolveByType(Jsr250Metadata.java:345)
      3. com.oracle.pitchfork.inject.Jsr250Metadata.resolve(Jsr250Metadata.java:275)
      4. com.oracle.pitchfork.inject.Jsr250Metadata.applyInjections(Jsr250Metadata.java:228)
      4 frames