Daniel Bevenius [
http://community.jboss.org/people/beve] created the discussion
"Re: I Have a Problem with the configuration in jboss as 7 + hibernate 4 + jsf"
To view the discussion, visit:
http://community.jboss.org/message/627680#627680
--------------------------------------------------------------
Hi,
looking at the hibernate module.xml it has a dependency to 'org.dom4j' . If you
want the dom4j.jar from your deployments lib directory to be used you can add an exclusion
for the 'org.dom4j' module:
<jboss-deployment-structure>
<deployment>
<exclusions>
<module name="org.jdom4j"/>
</exclusions>
</deployment>
</jboss-deployment-structure>
You can find more information about the jboss-depoyment-structure.xml file in the section
"JBoss Deployment Structure File" of the
https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7 Developer Guide.
Regards,
/Daniel
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/627680#627680]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]