com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FetchImpl': Initialization of bean failed; nested exception is com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Dependency injection failure: can't find the bean definition about class interface javax.persistence.EntityManager; nested exception is 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.BeanCreationException: Error creating bean with name 'FetchImpl': Initialization of bean failed; nested exception is com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Dependency injection failure: can't find the bean definition about class interface javax.persistence.EntityManager; nested exception is 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.BeanCreationException

      Dependency injection failure: can't find the bean definition about class interface javax.persistence.EntityManager; nested exception is 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.applyInjections()
    2. com.oracle.pitchfork
      Jsr250MetadataBeanPostProcessor.postProcessAfterInstantiation
      1. com.oracle.pitchfork.inject.Jsr250Metadata.applyInjections(Jsr250Metadata.java:234)
      2. com.oracle.pitchfork.inject.Jsr250Metadata.inject(Jsr250Metadata.java:219)
      3. com.oracle.pitchfork.inject.Jsr250Metadata.injectAndPostConstruct(Jsr250Metadata.java:246)
      4. com.oracle.pitchfork.inject.Jsr250MetadataBeanPostProcessor.postProcessAfterInstantiation(Jsr250MetadataBeanPostProcessor.java:40)
      4 frames
    3. com.bea.core
      AbstractAutowireCapableBeanFactory.doCreateBean
      1. com.bea.core.repackaged.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:957)
      2. com.bea.core.repackaged.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)
      2 frames