我正在尝试运行Netbeans的Java Web / Web应用程序(版本8.2)。该项目的构建没有任何编译错误。但是它不会自动部署到GlassFish Server(4.1.1版)。而是提供以下输出。
ItemsControl
在Java DB进程窗口中记录以下内容:
ColorAnimation
在Netbeans IDE日志中:
ant -f /Users/kusal/Documents/CS/Projects/IG/IG/IG -Dnb.internal.action.name=run -Ddirectory.deployment.supported=true -DforceRedeploy=false -Dnb.wait.for.caches=true -Dbrowser.context=/Users/kusal/Documents/CS/Projects/IG/IG/IG run
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
/Users/kusal/Documents/CS/Projects/IG/IG/IG/nbproject/build-impl.xml:874: The following error occurred while executing this line:
/Users/kusal/Documents/CS/Projects/IG/IG/IG/nbproject/build-impl.xml:296:
Cancelled by user.
BUILD FAILED (total time: 7 seconds)
但是,war文件可以手动部署,也可以部署在服务器上,并且可以正常运行。