[jboss-dev-forums] [JBoss AS 7 Development] - Re: moving from 7.0.1 to 7.1final , getting NoClassDefFoundError

robert walker do-not-reply at jboss.com
Thu Mar 1 13:00:47 EST 2012


robert walker [https://community.jboss.org/people/robertwalker] created the discussion

"Re: moving from 7.0.1 to 7.1final , getting NoClassDefFoundError"

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

--------------------------------------------------------------
TDR, ur awesome, thank you, 

i changed my jboss 7.1 module for logging

C:\jboss-as-7.1.0\modules\org\jboss\logging\main\module.xml

from the stock


<module xmlns="urn:jboss:module:1.1" name="org.jboss.logging">
    <resources>
        <resource-root path="jboss-logging-3.1.0.GA.jar"/>
        <!-- Insert resources here -->
    </resources>
    <dependencies>
        <module name="org.jboss.logmanager"/>
    </dependencies>
</module>

to

<module xmlns="urn:jboss:module:1.1" name="org.jboss.logging">
    <resources>
        <resource-root path="jboss-logging-3.1.0.GA.jar"/>
        <!-- Insert resources here -->
    </resources>
    <dependencies>
        <module name="org.jboss.logmanager"/>
*        <module name="org.slf4j" />*
*        <module name="org.apache.log4j" />*
    </dependencies>
</module>

and all exceptions went away, no application changes or anything else. 

is this an error or something the jboss developers should be aware of?
--------------------------------------------------------------

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

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/20120301/87f0d6c0/attachment.html 


More information about the jboss-dev-forums mailing list