Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NullPointerException when inject an EntityManager

 
maxsn max
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !
I've some trouble when I try to inject an EntityManager with:

It's return me an NullPointerException.
I'm developing an EAR application which contain an EJB3.0 application and and web application devopped with Struts 1.3.5.
this is my persisten.xml file which is on te META-INF of my EJB3.0 application



Thanks and I hope I was so clear.
 
Prabhat Gupta
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Maxsn,
Do you not think that you have landed at wrong place?cool.... I think your post will be moved to appropriate section.
 
maxsn max
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry!

I'm a new user

Anyway do you have an idea about my problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic