4 Replies Latest reply on Oct 26, 2007 1:47 PM by Mike Duffy

    .NoClassDefFoundError: org.jboss.dom4j.DocumentFactory

    Nguyen Le Newbie

      Hi,

      I am running jboss 4.2.0 on Ubuntu and when I start the application server I get the following error
      Caused by: java.lang.NoClassDefFoundError: org.jboss.dom4j.DocumentFactory
      at java.lang.Class.initializeClass(libgcj.so.70)
      at org.jboss.dom4j.io.SAXReader.getDocumentFactory(SAXReader.java:645)
      at org.jboss.dom4j.io.SAXReader.createContentHandler(SAXReader.java:969)
      at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:449)
      at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:291)
      at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:255)
      at org.jboss.mx.modelmbean.XMBean.(XMBean.java:253)
      at org.jboss.mx.modelmbean.XMBean.(XMBean.java:282)
      at java.lang.reflect.Constructor.newInstance(libgcj.so.70)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1233)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:212)

      I am unclear on why this error is occuring. Can someone give me some insight on how to resolve this issue? I have check the forum archive but there does not appear to be any mention of this issue. Any help would be greatly appreciated.

      Best Regards,