2 Replies Latest reply on Mar 21, 2014 11:36 AM by shinosha

    jboss-deployment-structure.xml not parsed

    shinosha Newbie



      I currently have a multi-module project with Maven and I have dependency issues between my app hibernate-jpa-2.1-api.jar and the same one provided by JBoss in module javax.persistence. JBoss 7.1 is actually providing the 2.0 version and I think he's overriding my app, which throws me a NoSuchMethodException on some annotations.


      Anyway I tried adding a jboss-deployment-structure.xml in my WEB-INF folder (since it's a webapp) :


      <?xml version="1.0" encoding="UTF-8"?>
                  <module name="org.hibernate" />
                  <module name="javax.persistence" />


      The problem is that it would seem the file is not read at all by JBoss. I have nothing in my logs and if I do a typo on purpose, nothing comes up...