I was getting this error and I did two things and the problem went away.

1) - I was using @PersistenceUnit annotation for whatever reason so I switched 
it to use @PersitenceContext

2) - I had the entity manager field private with a public getter and protected 
setter.  I had problems until I made both accessors public.  I'm not sure if I 
had made them both protected or removed them period if I would have had the 
same problem.

Hope this helps.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102309#4102309

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102309
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to