3 Replies Latest reply on Jan 17, 2006 3:05 PM by Tao Xie

    Upgrading to 4.0.3 got ClassNotFoundException

    Tao Xie Newbie

      I have an application was deployed on Jboss 4.02. it was running fine. I'm upgrading to Jboss 4.0.3SP1. I got the ClassNotFoundException on a dom4j class which is needed in my deployable SAR.


      2006-01-17 10:19:22,803 WARN (ServiceController.java:435) - Problem starting service com.mydomain:service=RDSStartup
      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.mydomain.demo.helper.HDGCategoryUtil.getHCEList(HDGCategoryUtil.java:50)
      at com.mydomain.demo.data.MarketDataCache.initialize(MarketDataCache.java:69)
      at com.mydomain.demo.startup.RDSStartupService.startService(RDSStartupService.java:76)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)