Compare the war deployed by eclipse (in tmp0) and the one you generate, beans.xml or classes should be different Le 13 févr. 2013 07:27, "Ricardo" <[email protected]> a écrit :
> Hmmm.... the documentation on > http://tomee.apache.org/deploying-in-tomee.html > is clearly not perfect, yet.. > > I quote: "Or you could simply package your application as a war and "drop > it > in" tomee/webapps folder or as an ear and "drop it in" tomee/apps folder." > I > am sure not the only newbie who is struggling with this. > > Well, my first shot was not to find out how to make sure that TomEE starts > a > newly dropped app with a good reference to the 125 files in the base lib > directory, but just make a copy of the lot in the app's lib directory. > > Yesss...the application starts to deploy :-) That is the good news :-P > > Seems i always have a "BUT".....what I got is: > > Feb 12, 2013 10:58:22 PM org.apache.openejb.cdi.OpenEJBLifecycle > startApplication > SEVERE: CDI Beans module deployment failed > javax.enterprise.inject.UnsatisfiedResolutionException: Api type > [org.mysoft.myDAO] is not found with the qualifiers > Qualifiers: [@javax.enterprise.inject.Default()] > ...... > > In TomEE/Eclipse, the app is running normally. Anyone got an idea ? Thx in > advance. > > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/can-t-get-WAR-file-running-on-standalone-TomEE-server-tp4660737p4660746.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
