I have written a java web application(deployed on glassfish server) to deploy on to Tomcat server. I copied the project file along with build.xml to a linux system and tried
我编写了一个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.
The web application is supposed to be portable, but it isn't. Any ideas to fix this?
Web应用程序应该是可移植的,但事实并非如此。有什么想法解决这个问题?
1 个解决方案
#1
0
You need to check your ant version. It might not be the same as on your other box.
你需要检查你的蚂蚁版本。它可能与您的其他盒子上的不一样。
#1
0
You need to check your ant version. It might not be the same as on your other box.
你需要检查你的蚂蚁版本。它可能与您的其他盒子上的不一样。