[jboss-user] [Beginner's Corner] - JBoss 5.1 AS - java.lang.NoClassDefFoundError: org/jdom/Parent

Michael Whitman do-not-reply at jboss.com
Thu Nov 3 11:21:37 EDT 2011


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&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111103/ef4f3c04/attachment-0001.html 


More information about the jboss-user mailing list