This content has been marked as final.
Show 2 replies
-
1. Re: EJB3 issue
arshadm Apr 17, 2009 11:55 AM (in response to faa)Hi,
Since it says no class definition found error, it seems to be some sort of class loading issue. Is the local interface and the EJB in the same jar? Is the jar declared to be an EJB jar and placed at the top level of the EAR.
Probably best if you attach a directory listing of your EAR file and the contents of application.xml from the EAR.
Regards.
-
2. Re: EJB3 issue
faa Apr 17, 2009 2:56 PM (in response to faa)In my application.xml (EAR plugin) I did add:
<module>
<ejb>jboss-seam-2.1.1.GA.jar</ejb>
</module>
<module>
<ejb>jboss-el-1.0_02.CR2.jar</ejb>
</module>
THAT WAS THE SOLUTION, IT WORKS!! :))
So those jars need to be declared as ejb:s and stated in application.xml, I thought it was enough to declare them as dependencies i maven.
Your hint really helped me.
THANKS
Andreas