tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siva106 <shiva02...@yahoo.co.in>
Subject Missing required persistence.xml for @PersistenceContext ref "em" to unit ""
Date Thu, 03 May 2018 20:02:38 GMT
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

Mime
View raw message