[jboss-dev-forums] [JBoss AS 7 Development] - Re: ClassNotFoundException (org.xml.sax.helpers.DefaultHandler) in a module

Markus Straub do-not-reply at jboss.com
Tue Feb 7 07:49:39 EST 2012


Markus Straub [https://community.jboss.org/people/markus_s] created the discussion

"Re: ClassNotFoundException (org.xml.sax.helpers.DefaultHandler) in a module"

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

--------------------------------------------------------------
The answer is to add the following dependencies to my module.xml:

<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.0" name="at.mylib">
    <resources>
       <resource-root path="mylib.jar"/>
    </resources>
    <dependencies>
        <system export="true">
            <paths>
                <path name="org/xml/sax"/>
                <path name="org/xml/sax/helpers"/>
            </paths>
        </system>
    </dependencies>
</module>
--------------------------------------------------------------

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

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/20120207/365ce851/attachment.html 


More information about the jboss-dev-forums mailing list