4 Replies Latest reply on Apr 4, 2005 9:50 AM by Vishal Sharma

    java.lang.NoClassDefFoundError: com/sun/enterprise/tools/pac

    jack alex Newbie

      Dear All,

      NOTE: i am new to jboss,

      while executing the following command,
      ant -f build.xml package-ejb

      i am getting this error,

      Buildfile: build.xml

      init:

      prepare:

      compile-detail:

      compile-exception:

      compile-interface:

      compile-util:

      compile-ejb:


      package-account:
      [java] Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/enterprise/tools/packager/Main
      [java] Java Result: 1

      package-customer:
      [java] Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/enterprise/tools/packager/Main
      [java] Java Result: 1

      package-tx:
      [java] Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/enterprise/tools/packager/Main
      [java] Java Result: 1

      package-ejb:

      BUILD SUCCESSFUL
      Total time: 1 second


      where i am wrong ?? which class it is not able to find ??

      Any help appreciated.


      -jack