Michael Whitman [
http://community.jboss.org/people/gregarine] created the discussion
"JBoss 5.1 AS - java.lang.NoClassDefFoundError: org/jdom/Parent"
To view the discussion, visit:
http://community.jboss.org/message/634873#634873
--------------------------------------------------------------
I am deploying a war on JBoss 5.1 AS. This war has run fine on JBoss 4 and on Tomcat
5.5.
error is
org.jdom.JDOMException: java.lang.NoClassDefFoundError: org/jdom/Parent: org/jdom/Parent
I realize from googling that it could be classloader issue. The jdom.jar is in
WEB-INF/lib. The only other apps running in this instance are apps that come with
package.
my jboss-web.xml
<?xml version="1.0"?>
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN" "
http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd
http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd">
<jboss-web>
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
LitigatorDataLoader:loader=LitigatorDataLoader.war
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
</jboss-web>
my jboss-classloading.xml
<classloading xmlns="urn:jboss:classloading:1.0"
name="LitigatorDataLoader.war"
domain="LitigatorDataLoader_domain">
parent-domain="Ignored"
export-all="NON_EMPTY"
import-all="true">
</classloading>
Any ideas as to what is wrong?
Thanks, Mike
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/634873#634873]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]