0
我最近在我的服務器上設置了Jasper Reports
,Apache Ant
和JDK
。我跟着一本書。我把jasper
和ant
放在主目錄和opt目錄下。我也做了一些conf編輯。最後一組它得到ant
運行Jasper Reports
,所以我在HSQLDB目錄鍵入"ant runServer"
並獲得"ant: command not found".
:Ant不會「運行」Jasper報告
我錯過了什麼?
嗨,我在Linux上。 /opt/apache-ant-1.8.2 ant runServer -bash:/opt/apache-ant-1.8.2:是一個目錄 任何其他的想法?感謝您的幫助btw! – fealiux
嗯...我想你不明白。當你鍵入'ant runServer'操作系統不知道在哪裏可以找到ant可執行文件。所以要運行它,你必須提供其可執行文件的完整路徑。在你的情況下,我想它是'/opt/apache-ant-1.8.2/ant runServer'或者'/opt/apache-ant-1.8.2/bin/ant runServer'。 – Thresh
/opt/apache-ant-1.8.2/bin/ant runServer Buildfile:build.xml不存在! 構建失敗 :[ - 至少我明白了!你覺得下一步是什麼? – fealiux