3 Replies Latest reply on Oct 15, 2006 12:40 PM by amitabh prasad

    NoClassDefFoundError:org/dom4j/xpath/DefaultXPath in deployi

    itshark itshark Newbie

      hi everyone!
      depolying .ear application that make use of dom4j-1.5.2.jar,jboss have the following problems:
      Caused by: java.lang.NoClassDefFoundError: org/dom4j/xpath/DefaultXPath
      at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
      at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
      at org.dom4j.tree.AbstractNode.selectNodes(AbstractNode.java:164)
      at com.alibaba.common.resourcebundle.xml.XMLResourceBundle.(XMLResourceBundle.java:37)
      at com.alibaba.common.resourcebundle.xml.XMLResourceBundleFactory.parse(XMLResourceBundleFactory.java:75)
      at com.alibaba.common.resourcebundle.AbstractResourceBundleFactory.createBundle(AbstractResourceBundleFactory.java:84)
      at com.alibaba.common.resourcebundle.ResourceBundleFactory$Helper.findBundle(ResourceBundleFactory.java:329)
      at com.alibaba.common.resourcebundle.ResourceBundleFactory$Helper.getBundleImpl(ResourceBundleFactory.java:194)
      at com.alibaba.common.resourcebundle.ResourceBundleFactory$Helper.access$000(ResourceBundleFactory.java:143)
      at com.alibaba.common.resourcebundle.ResourceBundleFactory.getBundle(ResourceBundleFactory.java:109)
      at com.alibaba.common.resourcebundle.ResourceBundleFactory.getBundle(ResourceBundleFactory.java:36)
      at com.alibaba.biz.command.result.ResultCode.getResourceBundle(ResultCode.java:80)
      at com.alibaba.biz.command.result.ResultCode.getMessage(ResultCode.java:53)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      .....
      if anyone can help......
      thanks in advance!