java - GlassFish Server 3 中部署失败

标签 java netbeans build glassfish

我正在开发一个网络应用程序。我正在使用 NetBeans 6.9.1、Java、JSF 和 GlassFish Server 3。

如果我尝试部署该项目,则会收到以下错误:

    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

但是清洁和建筑工作正常。我找不到任何解决方案。

谢谢。

最佳答案

如果我的 Glassfish 表现得很疯狂,我会:

  • 停止 GF,
  • 删除/domain1/generated/*,
  • 删除/domain1/osgi-cache/*,
  • 启动 GF。

关于java - GlassFish Server 3 中部署失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6186259/

相关文章:

java - 将代理与 JavaPNS 2.2 结合使用

java - GSON 不序列化/反序列化扩展类

适用于 Ubuntu 12.04 的 C++ 编译器/SDK - Netbeans

android - DexArchiveMergerException 仅在发布时出现

java - Spring MVC 中的 ThrowawayController 如何从请求中获取参数?

java - 为什么我收到一条错误消息说没有抛出任何异常?

c++ - 使用 GMP 设置 Netbeans,如何指定编译选项?

xml - 为什么在Eclipse项目中更改xml文件会触发项目自动构建

build - 使用带有相对路径的 VS Online "Command Line"任务