简体   繁体   English

在 GlassFish Server 3 中部署失败

[英]Deploy Failed in GlassFish Server 3

I'm working on a Webapplication.我正在开发一个 Web 应用程序。 I'm using NetBeans 6.9.1, Java, JSF and GlassFish Server 3.我正在使用 NetBeans 6.9.1、Java、JSF 和 GlassFish Server 3。

If I try to deploy the project I get following error:如果我尝试部署项目,我会收到以下错误:

    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    library-inclusion-in-archive:
    library-inclusion-in-manifest: 
    compile:
    compile-jsps:
    In-place deployment at /home/ghost/Dokumente/fontys/s2/prj2/trunk/realisierun/program/prj2-m2-10b/build/web
    deploy?path=/home/ghost/Dokumente/fontys/s2/prj2/trunk/realisierung/program/prj2m2-10b/build/web&name=prj2-m2-10b&force=true on GlassFish Server 3 failed
    /home/ghost/Dokumente/fontys/s2/prj2/trunk/realisierung/program/prj2-m2-10/nbproject/build-impl.xml:784: The module has not been deployed.
    BUILD FAILED

But cleaning and building works fine.但是清洁和建筑工作正常。 I could not find any solution.我找不到任何解决方案。

Thanks.谢谢。

If my Glassfish behaves crazy, I do:如果我的 Glassfish 表现得很疯狂,我会:

  • stop GF,停止GF,
  • delete /domain1/generated/*,删除 /domain1/generated/*,
  • delete /domain1/osgi-cache/*,删除 /domain1/osgi-cache/*,
  • start GF.开始GF。

I had the same issue.我遇到过同样的问题。 Just restart the server all will be fine.只需重新启动服务器一切都会好的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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