1 Reply Latest reply on Jul 10, 2003 1:42 PM by gudmundsonsc

    NoClassDefFoundError

    Vadivelu Rahuraman Newbie

      Hi
      I am new to JBOSS. When I deply I am getting the following NoClassDefFoundError.

      The ServiceMap class it is complaining about is packaged in a corresponding AS_MetadataService_client.jar file. I would appreciate any help.

      Thanks,
      Rahu


      INFO [jbossweb] Starting Jetty/4.2.9
      INFO [jbossweb] Started org.mortbay.http.NCSARequestLog@4bf53e
      INFO [jbossweb] Started SocketListener on 0.0.0.0:8080
      INFO [jbossweb] Started org.jboss.jetty.Jetty@1f02b85
      INFO [JettyService] Started
      INFO [MainDeployer] Deployed package: file:/Z:/ActiveService_build/JAVA_dbg/run
      /AS_MetadataService/jboss/deploy/jbossweb.sar/
      INFO [MainDeployer] Starting deployment of package: file:/Z:/ActiveService_buil
      d/JAVA_dbg/run/AS_MetadataService/jboss/deploy/AS_MetadataService_jmx.sar
      ERROR [MainDeployer] could not create deployment: file:/Z:/ActiveService_build/J
      AVA_dbg/run/AS_MetadataService/jboss/deploy/AS_MetadataService_jmx.sar
      java.lang.NoClassDefFoundError: au/com/ot/openci/activeservice/metadataservice/s
      ervicemapping/castor/ServiceMap
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
      at java.lang.Class.privateGetPublicMethods(Class.java:1655)
      at java.lang.Class.getMethods(Class.java:815)
      at org.jboss.mx.metadata.StandardMetaData.build(StandardMetaData.java:65
      )
      at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:63)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
      eanRegistry.java:156)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea