0 Replies Latest reply on May 5, 2006 10:59 AM by Giovanni Giovanni

    cannot use ant -f jboss-build.xml package-ejb

    Giovanni Giovanni Newbie

      Hi all
      I'm new with jboss and I try to deploy duke's bank application.
      I'm using jboss 3.2.6 and when I run ant -f jboss-build.xml package-ejb
      for creating duke's bank ejb jar i get this error (I create no jars but ant says success...wow!!):

      Buildfile: jboss-build.xml

      init:

      prepare:

      compile-detail:

      compile-exception:

      compile-interface:

      compile-util:

      compile-ejb:

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

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

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

      package-ejb:

      BUILD SUCCESSFUL