1

ejbca Web サイトで説明されている手順を適用しようとしましたが、「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$ 

このエラーを解決する方法を知っている人はいますか?

ありがとうございました

4

2 に答える 2

1

ハメドが指摘したように、ejbca.properties ファイルがないか、ファイルに appserver.home エントリがありません。

于 2014-07-28T23:39:15.867 に答える