1 Reply Latest reply on May 11, 2007 10:37 AM by Peter Johnson

    Which JBOss jar is missing? NoClassDefFoundError org/jboss/s

    thoste Newbie

      When I call a java prog JBoss reports me an error:

      Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/serial/objectmetamodel/safecloning/SafeClone
      at java.lang.Class.getDeclaredFields0(Native Method)
      at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
      ....

      Which JBoss jar is missing in the CLASSPATH ?

      My CLASSPATH currently looks like:

      CLASSPATH=.;D:\JBoss405\server\all\deploy\jboss-net.sar\axis.jar;D:\JBoss405\client\log4j.jar;D:\JBoss405\client\jboss-common-clien
      t.jar;D:\JBoss405\client\jboss-system-client.jar;D:\JBoss405\client\jnp-client.jar;D:\JBoss405\client\jboss-client.jar;D:\JBoss405\client\jbosssx-client.jar;.\classes;D:\java\j2ee\v5.02\jdk\jre\lib\rt.jar;D:\java\j2ee\v5.02\lib\j2ee.jar;