Hi Roman/mauro2java2011, I tried both tomee.xml and context.xml and I define in either of them.
I think the problem is with common annotations version. I am using jdk 1.8 which I guess implements 1.2 commons annotations. Any idea if tomee supports this ? Also, how can use endorsed dirs with tomee maven plugin ? I noticed that endorsed jars are not being copied when we execute tomee:run > On 19 Feb 2017, at 09:38, mauro2java2011 [via TomEE & OpenEJB] > <[email protected]> wrote: > > I Re ad from your post: > > "configured the testDS in context.xml " > > The datasourcevis already configurate into tomee.xml > > Remo ve it from context.xml. > > If you reply to this email, your message will be added to the discussion > below: > http://tomee-openejb.979440.n4.nabble.com/Resource-not-working-in-tomee-1-7-4-tp4680866p4681123.html > To unsubscribe from @Resource not working in tomee 1.7.4, click here. > NAML -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Resource-not-working-in-tomee-1-7-4-tp4680866p4681124.html Sent from the TomEE Users mailing list archive at Nabble.com.
