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">
<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?