-
Apr 24th, 2009, 08:03 AM
#1
No bean named 'entityManagerFactory' is defined
framework unabel to locate entityManagerFactory.
this is my app.xml
-------------------------
<bean id="entityManagerFactory"
class="org.springframework.orm.jpa.LocalEntityMana gerFactoryBean">
<property name="persistenceUnitName" value="exams" />
</bean>
persistance.xml
---------
<persistence-unit name="exams" transaction-type="RESOURCE_LOCAL" >
-----
---
</persistence-unit>
----------------------------------
and persistance.xml is in web/inf/lib/xyz-dao.jar
Last edited by gaddamsandeeps; Apr 27th, 2009 at 02:44 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules