NetBeans 8.2 build-impl.xml模块尚未部署

问题描述

我正在尝试在NetBeans中创建一个应用程序,在该数据库我有一堆学生,并且我需要返回某些学生,等等。

我的问题是,当我尝试部署项目时,它给了我这样的错误

GlassFish Server,部署,为null,false
C:\ User \ Documents \ NetBeansprojects \ JPAexercise \ JPAexercise-ejb \ nbproject \ build-impl.xml:942:该模块尚未部署。有关详细信息,请参见服务器日志。 失败(总时间:0秒)

发生错误代码部分是:

        <!-- Task to deploy to the Access Manager runtime. -->
    </target>
    <target depends="init,-init-cos,-init-deploy,compile,library-inclusion-in-archive,dist-directory-deploy,pre-run-deploy,-pre-nbmodule-run-deploy,-run-deploy-nb,-init-deploy-ant,-deploy-ant,-run-deploy-am,-post-nbmodule-run-deploy,post-run-deploy,-do-update-breakpoints" name="run-deploy"/>
    <target if="netbeans.home" name="-run-deploy-nb">
ERROR ->  <nbdeploy debugmode="false" forceRedeploy="${forceRedeploy}"/>  <- ERROR
    </target>
    <target name="-init-deploy-ant" unless="netbeans.home">
        <property name="deploy.ant.archive" value="${dist.jar}"/>
        <property name="deploy.ant.resource.dir" value="${resource.dir}"/>
        <property name="deploy.ant.enabled" value="true"/>
    </target>

我尝试从头开始创建一个新项目2次,将Glassfish从4.1.1更新到5,观看了类似我的项目的指南,添加了不同的xml文件,弄乱了属性设置,更改,删除和交换了库,但是还是一样的错误。我也不能更改NetBeans版本,因为每个人都需要在我们的课程中使用8.2版本,以便每个人的项目都一致。

任何帮助表示赞赏! 谢谢!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)