【问题标题】:GlassFish server core.jar is not contained in the list of the installed bundlesGlassFish 服务器 core.jar 未包含在已安装的捆绑包列表中
【发布时间】:2017-04-19 21:29:17
【问题描述】:

在 Felix 平台上启动 GlassFish 2016 年 5 月 5 日下午 2:02:02

com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
gru 05, 2016 2:02:02 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
**WARNING: Skipping entry  because it is not an absolute URI.**
gru 05, 2016 2:02:02 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
**WARNING: Skipping entry  because it is not an absolute URI.**
gru 05, 2016 2:02:11 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner startBundles

**WARNING: Can not start bundle file:/C:/Users/MyName/Desktop/Servers/glassfish4/glassfish/modules/core.jar because it is not contained in the list of installed bundles.**
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@294d3883 in service registry.

我无法运行我的项目。 我已经做了什么: - 清除和构建 - 尝试将端口从 8080 更改为 9090 - 在本地端口的 TCPView 中关闭连接 - 在任务管理器中关闭了 Java 二进制进程,但仍然无法正常工作。

当我运行项目时,我得到了这个:

C:\Users\MyName\Desktop\Java Web Profile\MyProject\nbproject\build-impl.xml:1048: The module has not been deployed.
See the server log for details.
1047-1049 lines from build-impl.xml:

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

有什么想法吗? :)

【问题讨论】:

    标签: java jakarta-ee netbeans server glassfish-4


    【解决方案1】:

    我在另一个网站上找到了这个解决方案/原因,并没有为我解决这个问题,但希望它可以帮助你:

    原因:在 mac OS Sierra 中,新的更新会阻止使用系统代理设置的站点,其中 localhost,127.0.0.1 所有连接都被阻止。

    解决方案: 第 1 步:转到系统偏好设置 > 网络 > 选择您的 wifi 连接 > 高级 > 选择代理选项卡。 有检查 3 个选项 1)自动代理发现 2)自动代理配置 3)网络代理(http)

    第2步:转到Netbeans>首选项>常规>选择使用系统代理>重新加载>测试连接 您可能会成功连接。

    如果连接成功,现在在 netbeans 中清理并构建您的应用程序,然后按运行。 希望它会奏效。就我而言,它有效。

    https://discussions.apple.com/message/30715103#message30715103 https://netbeans.org/bugzilla/show_bug.cgi?id=268076

    【讨论】:

      猜你喜欢
      • 2018-01-26
      • 2017-09-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-08-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多