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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by mcalpay, 1 year ago
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
via Oracle Community by mcalpay, 1 year ago
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
via Oracle Community by 639151, 6 months ago
No unique bean of type http://javax.ejb.EJBContext is defined: No bean s of type javax.ejb.EJBContext; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext: display name [com.bea.core.re
via oracle.com by Unknown author, 2 years ago
No unique bean of type [javax.servlet.sip.SipFactory] is defined: No beans of type javax.servlet.sip.SipFactory; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@6ee3ee5a: display name
via oracle.com by Unknown author, 2 years ago
No unique bean of type [javax.servlet.sip.SipFactory] is defined: No beans of type javax.servlet.sip.SipFactory; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@6ee3ee5a: display name
via Oracle Community by 666705, 6 months ago
No unique bean of type [javax.jms.ConnectionFactory] is defined: No beans of type javax.jms.ConnectionFactory; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext: display name
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(Jsr250Metadata.java:305)
at com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.resolveByType(Jsr250Metadata.java:299)
at com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.resolve(Jsr250Metadata.java:286)
at com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.applyInjections(Jsr250Metadata.java:238)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.