JBoss Community

Re: I Have a Problem with the configuration in jboss as 7 + hibernate 4 + jsf

created by Daniel Bevenius in JBoss AS7 Development - View the full discussion

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 Developer Guide.

 

Regards,

 

/Daniel

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community