ejbca ant bootstrap 构建失败(BUILD FAILED)
ejbca_4_0_10
jdk1.6
ant 1.8.3
windows环境,cmd到ejbcahome下>ant bootstrap后,有如下提示:
Buildfile: D:\ejbca\ejbca_4_0_10\build.xml
[echo] No custom changes to merge.
[echo] appserver.home: Dea103
[echo] appserver.type: weblogic
testforgnujava:
bootstrap:
failinproduction-ca:
fail-unless-appserver-detected:
testforgnujava:
display-properties:
[echo]
[echo] ---------- EJBCA 4.0.10 (r14333) CONFIGURATION PROPERTIES ----------
[echo] appserver.type = weblogic
[echo] appserver.home = D:\bea103
[echo] ocsp.defaultresponder = CN=AdminCA1,O=EJBCA Sample,C=SE
[echo] ocsp.signaturealgorithm = SHA1WithRSA;SHA1WithECDSA;SHA1WithDSA
[echo] datasource.jndi-name = EjbcaDS
[echo] datasource.jndi-name-prefix =
[echo] database.name = oracle
[echo] database.url = jdbc:oracle:thin:@127.0.0.1:1521:ejbca
[echo] database.driver = oracle.jdbc.driver.OracleDriver
[echo] database.username = ejbca
[echo] database.password = ejbca
[echo] weblogic-oracle-columntype =
[echo] mail.jndi-name = java:/EjbcaMail
[echo] mail.from = ejbca-donotreply@domain.com
[echo] mail.user = ejbca_user
[echo] mail.password =
[echo] mail.smtp.host = localhost
[echo] mail.smtp.port = 25
[echo] mail.smtp.auth = false
[echo] mail.debug = false
[echo] httpserver.pubhttp = 8080
[echo] httpserver.pubhttps = 8442
[echo] httpserver.privhttps = 8443
[echo] httpsserver.hostname = localhost
[echo] httpsserver.password = ${httpsserver.password}
[echo] web.contentencoding = UTF-8
[echo] web.renewalenabled = false
[echo] ejbcaws.enabled = true
[echo] cmp.allowraverifypopo = false
[echo] cmp.defaultca =
[echo] cmp.extractusernamecomponent =
[echo] cmp.operationmode = normal
[echo] cmp.responseprotection = signature
[echo] cmp.ra.authenticationsecret =
[echo] cmp.ra.namegenerationscheme = DN
[echo] cmp.ra.namegenerationparameters = CN
[echo] cmp.ra.namegenerationprefix =
[echo] cmp.ra.namegenerationpostfix =
[echo] cmp.ra.endentityprofile = EMPTY
[echo] cmp.ra.certificateprofile = ENDUSER
[echo] cmp.ra.caname = AdminCA1
[echo] cmp.tcp.enabled = false
[echo] cmp.tcp.portno = 829
[echo] cmp.tcp.logdir = ./log
[echo] cmp.tcp.conffile =
[echo] xkms.enabled = false
[echo] xkms.serviceport = 8080
[echo]
ejbca.ear.module-dependencies:
ejbca-util:
-check.clover:
with.clover:
compile-util:
[javac] Compiling 64 source files to D:\ejbca\ejbca_4_0_10\modules\ejbca-ejb\build-util
[javac] D:\ejbca\ejbca_4_0_10\src\java\org\ejbca\core\model\ca\caadmin\X509CA.java:504: 软件包 javax.ejb 不存在
[javac] throw new javax.ejb.EJBException(e);
[javac] ^
[javac] D:\ejbca\ejbca_4_0_10\src\java\org\ejbca\core\model\ca\caadmin\X509CA.java:512: 软件包 javax.ejb 不存在
[javac] throw new javax.ejb.EJBException(e);
[javac] ^
[javac] 注意:某些输入文件使用或覆盖了已过时的 API。
[javac] 注意:要了解详细信息,请使用 -Xlint:deprecation 重新编译。
[javac] 注意:某些输入文件使用了未经检查或不安全的操作。
[javac] 注意:要了解详细信息,请使用 -Xlint:unchecked 重新编译。
[javac] 2 错误
BUILD FAILED
D:\ejbca\ejbca_4_0_10\build.xml:54: The following error occurred while executing this line:
D:\ejbca\ejbca_4_0_10\build.xml:764: The following error occurred while executing this line:
D:\ejbca\ejbca_4_0_10\modules\build.xml:123: The following error occurred while executing this line:
D:\ejbca\ejbca_4_0_10\modules\ejbca-ejb\build.xml:482: Compile failed; see the compiler error output for details.
Total time: 3 seconds