Results 1 to 1 of 1

Thread: No bean named 'entityManagerFactory' is defined

  1. #1

    Default 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
  •