1. EntityManager injection results in NullPointerException stackoverflow.comI'm writing my first JEE (EJB + Servlets etc.) application (please note: I'm using Eclipse). |
2. Null pointer exception while trying to inject entity manager forum.hibernate.orgI am fairly new to all of this hibernate, and annotations etc... the entity manager is not getting injected. It is always null. Any help would be great, as well as why it is wrong. Thanks No other errors besides the npe. I am using the following: java jdk 1.6.0_23 eclipse helios Hibernate 3 jsf 2.0 and icefaces tomcat v6 server ... |