This content has been marked as final.
Show 1 reply
-
1. Re: JBOSS 4.2.3 - class not found exception
david.cole Dec 29, 2010 3:29 PM (in response to david.cole)well I solved the problem.
JBOSS by default does not include the linked libraries - they must be in the manifest.mf file.
I extended my pom.xml with the AddClassPath tag as below and ti worked
<ejbVersion>3.0</ejbVersion>
<generateClient>true</generateClient>
<clientExcludes>
<clientExcludes>**/*Bean.class</clientExcludes>
</clientExcludes>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>