| Author |
No unique bean of type [javax.persistence.EntityManagerFactory] is defined: but found 0
|
sreekanth aleddulla
Greenhorn
Joined: Feb 08, 2011
Posts: 27
|
|
Hi am getting the below error
can any body please help me how to fix this.
|
 |
Rishi Shehrawat
Ranch Hand
Joined: Aug 11, 2010
Posts: 218
|
|
|
You are injecting entity manager using Spring, however entity manager is not defined in your Spring configuration file.
|
 |
sreekanth aleddulla
Greenhorn
Joined: Feb 08, 2011
Posts: 27
|
|
no i have configured EntityManagerFactory in applicationContext.xml
please find the below applicationContext.xml
i am getting the below stack strace error
please help me
|
 |
 |
|
|
subject: No unique bean of type [javax.persistence.EntityManagerFactory] is defined: but found 0
|
|
|