JBoss Community

Re: moving from 7.0.1 to 7.1final , getting NoClassDefFoundError

created by robert walker in JBoss AS 7 Development - View the full discussion

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

Start a new discussion in JBoss AS 7 Development at Community