[英]build not working in linux with netbeans project
我已經編寫了一個Java Web應用程序(部署在glassfish服務器上)以部署到Tomcat服務器上。 我將項目文件以及build.xml復制到了Linux系統,並嘗試
[packwolf src]$ ant
Buildfile: build.xml
BUILD FAILED
/home/packwolf/Application/src/build.xml:12: The following error occurred while executing this line:
/home/packwolf/Application/src/nbproject/build-impl.xml:22: Class org.apache.tools.ant.taskdefs.condition.Not doesn't support the nested "antversion" element.
Web應用程序應該是可移植的,但事實並非如此。 有任何解決辦法嗎?
您需要檢查您的螞蟻版本。 它可能與您其他盒子上的不一樣。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.