You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by siva106 <sh...@yahoo.co.in> on 2018/05/03 20:02:38 UTC

Missing required persistence.xml for @PersistenceContext ref "em" to unit ""

Hi All,

newbie question. I am using a stateless bean which doesn't inject any
EntityManager or has got anything to do with persistence . When I start
TomEE, I see exceptions like these

*Missing required persistence.xml for @PersistenceContext ref "em" to unit
""*

Is persistence.xml required for TomEE ? Is there a way to avoid defining it
?



--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html