1. PersistenceContext EntityManager injection NullPointerException stackoverflow.comI have a war containing the following:
persistence.xml:
|
2. @PersistenceContext, EntityManager and NullPointerException forum.hibernate.orgNewbie Joined: Wed Apr 13, 2011 10:03 am Posts: 3 hi, I know it's a problem widely discussed, but I read forums from two days and everything looks correct, please help me. I have netbeans 7, tomcat 7, hibernate 3.6.3 and JavaServer Faces 2. this is the structure of the project: Code: ./src: conf java ./src/conf: MANIFEST.MF persistence.xml ./src/java: ... |