[jboss-dev-forums] [JBoss AS7 Development] - Re: I Have a Problem with the configuration in jboss as 7 + hibernate 4 + jsf

Daniel Bevenius do-not-reply at jboss.com
Wed Sep 21 03:28:34 EDT 2011


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&containerType=14&container=2225]

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


More information about the jboss-dev-forums mailing list