Try to copy your jar file to apps and lib folder.
El dic 14, 2012 6:42 PM, "Jukkales" <[email protected]> escribió:

> Hi,
>
> i have a problem with an EJB Class inside of EAR File.
> When i deploy i will get the error:
>
> org.apache.openejb.OpenEJBException: Error while loading bean class
> de.juserv.winnr.ejb.timer.BasicTaskService for bean BasicTaskService.
> Received message: Cannot locate the class
> de.juserv.winnr.ejb.timer.BasicTaskService from the codebase
>
> [E:\mave\WinnR\crawler\ear\target\de.juserv.winnr_crawler_1.0.0\crawler-ejb-1.0.0.jar]
>
> If i deploy the EJB Jar (or bundled in a WAR File) direct and exploded
> everything is fine.
>
> I searched Google for hours, but im either blind or i don't find anything
> what matches.
>
> I am using TomEE Plus 1.5, with a quite simple Maven Project. I attach a
> Link to the Maven Projekt. It just contains three classes.
>
> I want to request help, because i dont know what can be wrong here now.
>
> Maven project: https://dl.dropbox.com/u/34454683/WinnR.zip
> The EJB Class (BasicTimerService) is currently bundled in the WAR. You can
> uncomment the sections in the pom files to switch to a separated ejb.
>
> Thank you!
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-EAR-Cannot-locate-the-class-from-the-codebase-tp4659658.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to