Hello, I have a similar issue. I created a shared-lib.ear which contains all the 3rd party jars which would be shared by other war files in the same deployment folder. I have defined the dependencies in jboss-deployment-structure.xml in myweb.war
<jboss-deployment-structure>
<deployment>
<dependencies>
<module
name="deployment.shared-libs.ear.aopalliance-1.0.jar" />
However, while loading the war file, the following errors are coming...
{"JBAS014771: Services with missing/unavailable dependencies" => [
"jboss.module.resolve.phase.\"deployment.myweb.war\".main.1 is missing [jboss.module.spec.service.\"deployment.shared-libs-1.0.ear.aopalliance-1.0.jar\".main, ....
Please help.