Sun Java Studio Enterprise 8.1 and JBoss 4.05

I'm getting this error trying to add a JBoss Application Server for the IDE to deploy to:...java.lang.NoClassDefFoundError: org/dom4j/io/SAXReader...What should I do now?
[206 byte] By [espi3da] at [2007-11-26 17:12:23]
# 1

NoClassDefFoundError usually indicates that there multiple versions of the same jar in the classpath.

When java cannot find a class in classpath, a ClassNotFoundException is thrown. But say there are versions od dom4j.jar in the classpath but one of them is missing a class called a.b.c. If the jar with the missing class is on the classpath before the other one, then java will find the jar when its classes are accessed and load the jar. But will run into NoClassDefFound error when the app tries to access a.b.c class.

Can you check if there are multiple dom4j jars in your classpath?

KarthikRa at 2007-7-8 23:40:16 > top of Java-index,Development Tools,Java Tools...
# 2
hi Copy the dom4j.jar into the <JBOSS_HOME>\lib folder.Let me know if this worked.Message was edited by: jamesb111
jamesb111a at 2007-7-8 23:40:16 > top of Java-index,Development Tools,Java Tools...