0 Replies Latest reply on Apr 21, 2005 4:06 AM by Tejinder Rawat

    Exception in thread "main" java.lang.NoClassDefFoundError:

    Tejinder Rawat Newbie

      hello,
      i am writting a client for the j2ee application sa-client.jar which has to be tested on the jboss server.
      the structure of the sa-client.jar is:
      meta-inf
      menifest.mf
      application-client.xml
      jboss-client.xml
      au



      my menifest.mf file contains th following:

      Manifest-Version: 1.1
      Main-Class: au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest

      when i am trying to run the jar with command :
      java -jar sa-client.jar

      it is throwing the exception as:
      Exception in thread "main" java.lang.NoClassDefFoundError:

      can somebody please see what is going on inside.