I'm using jboss-deployment-structure.xml in WEB-INF in my war deployment. Adding dependencies works great. But now I tried to add a resource like
<resources>
<resource-root path="my-library.jar" />
</resources>
But I always get a classnotfound exception when using classes which are packed in my-library.jar?!
I also tried to use an absolute path - without success.
Where does the loader search for my-library.jar?