[jboss-dev-forums] [JBoss AS 7 Development] - jboss-deployment-structure.xml resource-root path

herb do-not-reply at jboss.com
Fri Apr 20 09:40:58 EDT 2012


herb [https://community.jboss.org/people/herb] created the discussion

"jboss-deployment-structure.xml resource-root path"

To view the discussion, visit: https://community.jboss.org/message/731340#731340

--------------------------------------------------------------
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?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/731340#731340]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120420/ea8ccfc9/attachment.html 


More information about the jboss-dev-forums mailing list