我是初学者,使用netbeans和glassfish,所以请放轻松我。 我所做的是File-> New Project-> Java Enterprise Application
Glassfish版本是4.1.1
创建项目后,我右键单击它并选择部署。
但后来我收到了这个错误
GlassFish Server 4.1.1 is running.
Starting GlassFish Server 4.1.1
Initial deploying DS_Project to /Users/user1/NetBeansProjects/My_Project/dist/gfdeploy/My_Project
Completed initial distribution of My_Project
GlassFish Server 4.1.1, deploy, null, false
/Users/user1/NetBeansProjects/My_Project/nbproject/build-impl.xml:307: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 26 seconds)
build-impl.xml中导致错误的行是
<nbdeploy clientModuleUri="${client.module.uri}" clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>