[英]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.