我尝试应用 ejbca 网站上解释的步骤,但是当我来到“ant deploy”时它不起作用
在 ubuntu 终端上,这出现了
> lama@lama-VirtualBox:~/ejbca_ce_6_1_1$ ant install
Buildfile: /home/lama/ejbca_ce_6_1_1/build.xml
customejbca.message:
[echo] No custom changes to merge.
appserver.error.message:
[echo] 'appserver.type' could not be detected or is not configured. Glassfish 2.1.1, Glassfish 3.1, Glassfish 4.0, JBoss 5.1.0.GA, JBoss EAP 5.1, JBoss 6.0, JBoss 7.1.1, JBoss EAP 6.1 and 6.2, WildFly 8, WebLogic 10.3.3, WebSphere 7.0.0.13 can be detected. (Is 'appserver.home' configured?)
[echo] jndi.properties.file: /home/lama/ejbca_ce_6_1_1/conf/jndi.properties.${appserver.type}
fail-unless-appserver-detected:
[echo] appserver.home: ${env.APPSRV_HOME}
[echo] appserver.type: ${appserver.type}
[echo] appserver.subtype: ${appserver.subtype}
BUILD FAILED
/home/lama/ejbca_ce_6_1_1/propertyDefaults.xml:263: 'appserver.type' could not be detected or is not configured. Glassfish 2.1.1, Glassfish 3.1, Glassfish 4.0, JBoss 5.1.0.GA, JBoss EAP 5.1, JBoss 6.0, JBoss 7.1.1, JBoss EAP 6.1 and 6.2, WildFly 8, WebLogic 10.3.3, WebSphere 7.0.0.13 can be detected. (Is 'appserver.home' configured?)
Total time: 2 seconds
lama@lama-VirtualBox:~/ejbca_ce_6_1_1$
有谁知道如何解决这个错误?
谢谢