does JBoss EAP 6.x support Class-Path entry in manifest to including external jars. I tried it in a module, but it does not work. below is my scenario.
I configured a module named com.test and there is empty.jar and test.jar under the module. the manifest of empty.jar are
Manifest-Version: 1.0 Class-Path: ./test.jar
the module.xml as below :
<module xmlns="urn:jboss:module:1.1" name="com.test"> <resources> <resource-root path="empty.jar"/> </resources>
and I configured the module as global module in EE subsystem.
and I deployed a client.war which has a servlet to reference a class defined in test.jar. but it can not find the class. any suggestion about thi
That's not the correct way.
If you use modules you need to set Dependencies in your MANIFEST
Refer Class Loading in AS7