[jboss-dev-forums] [JBoss Web Development] - <class-loading> doesn't parse in AS7

Joshua Wulf do-not-reply at jboss.com
Wed May 25 00:48:49 EDT 2011


Joshua Wulf [http://community.jboss.org/people/jwulf] created the discussion

"<class-loading> doesn't parse in AS7"

To view the discussion, visit: http://community.jboss.org/message/606851#606851

--------------------------------------------------------------
Deploying to a recent AS 7 Build I get:

Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to parse "/content/TopicIndex.war/WEB-INF/jboss-web.xml"
Message: Unexpected element 'class-loading' encountered

My jboss-web.xml looks like this:
<!DOCTYPE jboss-web PUBLIC
    "-//JBoss//DTD Web Application 4.2//EN"
    " http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd">
<jboss-web>  
    <class-loading java2ClassLoadingCompliance="false">
        <loader-repository>
            seam.jboss.org:loader=TopicIndex
            <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
        </loader-repository>
    </class-loading>
</jboss-web>

Any pointers?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/606851#606851]

Start a new discussion in JBoss Web Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2112]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110525/43d3b08f/attachment.html 


More information about the jboss-dev-forums mailing list