Announcement Announcement Module
Collapse
No announcement yet.
No bean named 'entityManagerFactory' is defined Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 02:44 AM.
Working...
X