【问题标题】:Netbeans 8.0.2 + Glassfish server 4.1Netbeans 8.0.2 + Glassfish 服务器 4.1
【发布时间】:2015-10-30 15:43:10
【问题描述】:

每当我从 Netbeans 运行我的项目时,我都会收到此错误:

The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 0 seconds)

这是日志输出:

Launching GlassFish on Felix platform 
Oct 30, 2015 3:54:15 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner 
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner. 
Oct 30, 2015 3:54:15 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations 
WARNING: Skipping entry because it is not an absolute URI. 
Oct 30, 2015 3:54:15 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations 
WARNING: Skipping entry because it is not an absolute URI. 
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@2b936ab9 in service registry. 
Found populator: com.sun.enterprise.v3.server.GFDomainXml 
#!## LogManagerService.postConstruct : rootFolder=C: \Program Files\glassfish-4.1\glassfish 
#!## LogManagerService.postConstruct : templateDir=C: \Program Files\glassfish-4.1\glassfish\lib\templates 
#!## LogManagerService.postConstruct : src=C: \Program Files\glassfish-4.1\glassfish\lib\templates\logging.properties 
#!## LogManagerService.postConstruct : dest=C: \Users\Jimmyzz\personal_domain1\config\logging.properties 
Info: Running GlassFish Version: GlassFish Server Open Source Edition 4.1 (build 13) 
Info: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter 
Info: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. 
Info: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. 
Info: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created. 
Info: Authorization Service has successfully initialized. 
Info: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry 
Info: Grizzly Framework 2.3.15 started in: 58ms - bound to [/0.0.0.0:8080] 
Info: Grizzly Framework 2.3.15 started in: 5ms - bound to [/0.0.0.0:8181] 
Info: Grizzly Framework 2.3.15 started in: 7ms - bound to [/0.0.0.0:4848] 
Info: Grizzly Framework 2.3.15 started in: 5ms - bound to [/0.0.0.0:3700] 
Info: GlassFish Server Open Source Edition 4.1 (13) startup time : Felix (1,408ms), startup services(571ms), total(1,979ms) 
Info: Grizzly Framework 2.3.15 started in: Ems - bound to [/0.0.0.0:7676] 
Info: Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@55f8669d as 0511 service registration: org.apache.felix.framework.ServiceRegistrationImpl@769d513. 
Info: JMXStartupService has started JMXConnector on 3MXService URL service:jmx:rmi://100.75.255.36:8686/jndi/rmi://100.75.255.36:8686/jmxrmi 
Info: HV000001: Hibernate Validator 5.0.0.Fina1 
Info: Grizzly Framework 2.3.15 started in: 8ms - bound to [/0.0.0.0:8181] 
Info: Grizzly Framework 2.3.15 started in: 9ms - bound to [/0.0.0.0:8080]I 

【问题讨论】:

  • 您能否就您的问题提供更多背景信息?你做了什么?你有什么具体问题?你的测试用例是什么?
  • 在“输出”窗口中,您应该会看到 Glassfish 的选项卡,其中包含服务器日志输出。里面有什么错误吗?
  • 我尝试删除重新添加 glassfish,卸载安装 netbeans,检查程序中的数据库用户名传递是否正确,尝试了不同的项目(学生,所以我们有一些示例项目准备运行,只需创建一个DB 并正在运行)但仍然是相同的 GlassFish Server,部署,null,false D:\etc\etc\etc\example3\nbproject\build-impl.xml:1048:模块尚未部署。有关详细信息,请参阅服务器日志。构建失败(总时间:0 秒)
  • @Gimby :警告:跳过条目,因为它不是绝对 URI。
  • 与其发布单行,不如尝试通过编辑将服务器日志输出添加到您的问题中。

标签: java netbeans-8 glassfish-4.1


【解决方案1】:

对于任何有类似问题的人,我通过重命名我的项目文件夹得到了解决, 没有空格或符号(例如,而不是 NetbeansProjectNBeans 的“Netbeans 项目和 bean”)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-08-09
    • 2014-11-18
    • 2015-03-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多