我的Duke線上銀行打不了包(ant package-ejb)?

kunzi83發表於2004-09-19
環境變數
ant_home D:\apache-ant-1.6.1

classpath .;%JAVA_HOME%\lib;C:\j2sdkee1.3.1\lib\j2ee.jar;
j2ee_home C:\j2sdkee1.3.1

java_home C:\j2sdk1.4.2

Path
%j2ee_home%\bin;%ant_home%\bin;%java_home%\bin

可是在cmd下輸入ant package-ejb的出現:
compile-ejb:
package-account:
[java]java.lang.NoClassDefForndError:com/sun/enterprise/tools/packager/Main
[java]Exception in thread "main"
[java]java Result:1
package-customer:
[java]java.lang.NoClassDefForndError:com/sun/enterprise/tools/packager/Main
[java]Exception in thread "main"
[java]java Result:1
package-tx:
[java]java.lang.NoClassDefForndError:com/sun/enterprise/tools/packager/Main
[java]Exception in thread "main"
[java]java Result:1
package-ejb:

BUILD SUCCESSFUL
為什麼?請高人指點。

相關文章