My Notebook
by kerner1000
Solution: Fix your EAR package structure:
Wrong | Right |
---|---|
Further information:
application.ear
: Exported as “Enterprise Application Project”app-ejb.jar
: Exported as “Enterprise Java Beans Project”app-web.war
: Exported as “Dynamic Web Project”app-shared.jar
: Exported as “Java Project”, that contains classes that are used by more than one of the sub-projects. Can also be a third party jar-File with library classes.app-web.war
or app-ejb.jar
may be deployed just before app-shared.jar
has been deployed. A workaround for that would be to first deploy app-shared.jar
separately and remove it from your enterprise application compilation.