0 Replies Latest reply on Aug 22, 2011 11:51 PM by Miguel Behr

    ClassLoadingConfiguration

    Miguel Behr Newbie

      Please help me with something:

       

      I create a jboss-web.xml file

       

      <?xml version="1.0" encoding="UTF-8"?> 

      <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 5.0//EN" 

              "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd"> 

      <jboss-web>   

      <class-loading java2ClassLoadingCompliance="false">

        <loader-repository> 

          org.hibernate.ejb.HibernatePersistence:archive=JBPMws.war

                org.apache.xerces.jaxp.DocumentBuilderFactoryImpl:archive=JBPMws.war

          <loader-repository-config>java2ParentDelegation=false</loader-repository-config> 

        </loader-repository> 

       

        </class-loading>

      </jboss-web> 

       

       

      but it give me the following error:

       

      Failed to parse source: Failed to start loader-repository: the element is not repeatable, repeatable parent expected to be a model group but got element class-loading

       

      Somebody have the solution?

       

      Thanks