If I apply the wtp plugin und run the eclipse task the Deployment Assembly (.settings/org.eclipse.wst.common.component) seems to be incorrect…
when trying to run the the war via eclipse you get serveral ClassNotFoundExceptions at the servlet container startup
and you also get the warnings in eclipse (see attached screenshot)
After some further investigation i found the differneces in the org.eclipse.wst.common.component file…
I deleted the broken dependency and added it via eclipse…
BAD:
<dependent-module deploy-path="/WEB-INF/lib" handle="module:/resource/databasemigration/databasemigration"> <dependency-type>uses</dependency-type> </dependent-module>
GOOD:
<dependent-module archiveName='databasemigration.jar'
deploy-path="/WEB-INF/lib" handle="module:/resource/databasemigration/databasemigration"> <dependency-type>uses</dependency-type> </dependent-module>