简体   繁体   中英

NetBeans and glassFish server

I've a problem with the glassFish server they show me this message when I deploy a project :

build-impl.xml:1045: The module has not been deployed.

I'been restart netbeans any times and change debugmode to TRUE but the problem continue.

It's the line 1045 by build-impl.xml:

<target if="netbeans.home" name="-run-deploy-nb">
    <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
</target>

I use:

  • macOS Sierra 10.12
  • NetBeans 8.2
  • GlassFish 4.1.1
  • JDK 8

尝试取消部署项目(在NetBeans 8.2中转到服务,服务器,GlassFish Server,右键单击已部署的项目,然后单击“取消部署”。然后重新启动GlassFish并运行您的项目(在“清理并构建”之后),这应该可以解决您的问题。

I have experienced this before. I did the following:

  1. Removed pom.xml and nb.configuration files from my project.
  2. Ensured that I had added the correct project type.
  3. Built and ran my client.

My server built successfully.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM