This content has been marked as final.
Show 2 replies
-
1. Re: noClassDefFoundError
hariv Feb 11, 2005 1:32 PM (in response to haripriya)Classes in the war file wont be visible from the EJB because they all run in a different class loader. If you want to share classes from ejb and war; you need to package the shared class seperately and either copy the jar file to <server instance>/lib or include the jar file in both EJB and WAR.
-
2. Re: noClassDefFoundError
hariv Feb 11, 2005 1:33 PM (in response to haripriya)Classes in the war file wont be visible from the EJB because they all run in a different class loader. If you want to share classes from ejb and war; you need to package the shared class seperately and either copy the jar file to <server instance>/lib or include the jar file in both EJB and WAR.