当前位置: 首页 > 知识库问答 >
问题:

无法从eclipse启动payara

壤驷涛
2023-03-14

Windows 10,JDK 1.8或15,eclipse 2021-06,maven project HelloWorld。我从eclipse marketplace安装了payara工具。启动payara服务器给出错误消息:

“在Felix平台上启动Payara服务器错误:解析系统捆绑语句时出错。org.osgi.framework.BundleException:导出的软件包名称不能是零长度。

共有3个答案

酆翔宇
2023-03-14

您可以在Payara服务器的“README.TXT”中阅读-

只需按照以下步骤操作: 文件

点击下一步

选择服务器类型:Payara

(如果您有以前的运行时配置,请删除它们)因此,现在,选择Payara location文件夹和Java location(选择jdk-11文件夹)--

然后,您可以选择名称、域路径、调试凭据并单击“完成”。

现在你可以右键单击

您还可以在web浏览器上检查localhost:4848。

谢鸿羲
2023-03-14

对使用其他服务器有何建议?

您是否尝试过从他们的站点下载完整的Payara服务器并直接运行它。然后,您可以使用热部署文件夹安装和更新war文件。

另一种方法是用docker-compose在docker中运行Payara服务器。只需在某处创建文件夹,并创建docker-compose.yml,其中包含以下内容。

docker-compose.yml

version: '3.1'
   
  services:     
    # Full payara application-server
    payara-server-full:
      container_name: payara-server-full
      image: payara/server-full:5.2021.1
      ports:
        - 8080:8080 # HTTP listener
        - 8443:8443 # HTTPS listener
        - 6900:6900 # Hazelcast cluster communication port
        - 4848:4848 # admin console. localhost:4848 (user:admin pw:admin)
      volumes:
        # persist auto-deployments
        - payara-domain1:/opt/payara/appserver/glassfish/domains/domain1/ 
        # startup deployment
        - ./payara/deployments:/opt/payara/deployments:z 
        # war-files in this folder will be auto-deployed to payara
        - ./payara/autodeploy:/opt/payara/appserver/glassfish/domains/domain1/autodeploy:z 
    
  volumes:
    payara-domain1

用法:

# Startup
docker-compose up -d

# Shutdown
docker-compose down

# Remove the volume to clean up or start fresh
docker volumes rm payara-domain1

使用maven war插件自动部署的一种简单方法。

xml prettyprint-override"><plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-war-plugin</artifactId>
    <version>3.3.1</version>
    <configuration>
        <outputDirectory>***path-to-autodeploy**</outputDirectory>
    </configuration>
</plugin>
魏兴邦
2023-03-14

我在某处读到eclipse 2021-06需要jdk11,所以我已经将所有的路径引用都更改为jdk11,并在eclipse属性和构建路径中设置jdk11,但是我无法启动payara5服务器。有没有关于替代服务器的建议?该长错误消息以下列内容开始:

Launching Payara Server on Felix platform
ERROR: Error parsing system bundle statement.
org.osgi.framework.BundleException: Exported package names cannot be zero length.
    at org.apache.felix.framework.util.manifestparser.ManifestParser.normalizeExportClauses(ManifestParser.java:865)
    at org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:217)
    at org.apache.felix.framework.ExtensionManager$ExtensionManagerRevision.update(ExtensionManager.java:982)
    at org.apache.felix.framework.ExtensionManager$ExtensionManagerRevision.access$000(ExtensionManager.java:885)
    at org.apache.felix.framework.ExtensionManager.updateRevision(ExtensionManager.java:378)
    at org.apache.felix.framework.Felix.init(Felix.java:748)
    at org.apache.felix.framework.Felix.init(Felix.java:641)
    at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiFrameworkLauncher$1.run(OSGiFrameworkLauncher.java:93)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.felix.framework.URLHandlers (file:/C:/Users/Work/payara5/glassfish/osgi/felix/bin/felix.jar) to constructor sun.net.www.protocol.file.Handler()
WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.URLHandlers
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Jul 08, 2021 3:29:21 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
ERROR: Bundle org.glassfish.hk2.osgi-resource-locator [1] Error starting file:/C:/Users/Work/payara5/glassfish/modules/osgi-resource-locator.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.osgi-resource-locator [1](R 1.0): missing requirement [org.glassfish.hk2.osgi-resource-locator [1](R 1.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0))) Unresolved requirements: [[org.glassfish.hk2.osgi-resource-locator [1](R 1.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.osgi-resource-locator [1](R 1.0): missing requirement [org.glassfish.hk2.osgi-resource-locator [1](R 1.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0))) Unresolved requirements: [[org.glassfish.hk2.osgi-resource-locator [1](R 1.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0)))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.objectweb.asm.tree.analysis [19] Error starting file:/C:/Users/Work/payara5/glassfish/modules/asm-analysis.jar (org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.tree.analysis [19](R 19.0): missing requirement [org.objectweb.asm.tree.analysis [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.objectweb.asm.tree.analysis [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))])
org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.tree.analysis [19](R 19.0): missing requirement [org.objectweb.asm.tree.analysis [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.objectweb.asm.tree.analysis [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.objectweb.asm.commons [20] Error starting file:/C:/Users/Work/payara5/glassfish/modules/asm-commons.jar (org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.commons [20](R 20.0): missing requirement [org.objectweb.asm.commons [20](R 20.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0))) [caused by: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.objectweb.asm.commons [20](R 20.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.commons [20](R 20.0): missing requirement [org.objectweb.asm.commons [20](R 20.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0))) [caused by: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.objectweb.asm.commons [20](R 20.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0)))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.objectweb.asm.tree [21] Error starting file:/C:/Users/Work/payara5/glassfish/modules/asm-tree.jar (org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.tree [21](R 21.0): missing requirement [org.objectweb.asm.tree [21](R 21.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.objectweb.asm.tree [21](R 21.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))])
org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.tree [21](R 21.0): missing requirement [org.objectweb.asm.tree [21](R 21.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.objectweb.asm.tree [21](R 21.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.objectweb.asm.util [22] Error starting file:/C:/Users/Work/payara5/glassfish/modules/asm-util.jar (org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.util [22](R 22.0): missing requirement [org.objectweb.asm.util [22](R 22.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0))) [caused by: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.objectweb.asm.util [22](R 22.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.util [22](R 22.0): missing requirement [org.objectweb.asm.util [22](R 22.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0))) [caused by: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.objectweb.asm.util [22](R 22.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0)))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.objectweb.asm [23] Error starting file:/C:/Users/Work/payara5/glassfish/modules/asm.jar (org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))])
org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.glassfish.hk2.class-model [29] Error starting file:/C:/Users/Work/payara5/glassfish/modules/class-model.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.class-model [29](R 29.0): missing requirement [org.glassfish.hk2.class-model [29](R 29.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.1.0)(!(version>=8.0.0))) [caused by: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.glassfish.hk2.class-model [29](R 29.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.1.0)(!(version>=8.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.class-model [29](R 29.0): missing requirement [org.glassfish.hk2.class-model [29](R 29.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.1.0)(!(version>=8.0.0))) [caused by: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.glassfish.hk2.class-model [29](R 29.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.1.0)(!(version>=8.0.0)))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle fish.payara.server.internal.hk2.config-types [46] Error starting file:/C:/Users/Work/payara5/glassfish/modules/config-types.jar (org.osgi.framework.BundleException: Unable to resolve fish.payara.server.internal.hk2.config-types [46](R 46.0): missing requirement [fish.payara.server.internal.hk2.config-types [46](R 46.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.glassfish.hk2.api [132](R 132.0): missing requirement [org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]] Unresolved requirements: [[fish.payara.server.internal.hk2.config-types [46](R 46.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities)(version>=2.6.0)(!(version>=3.0.0)))])
org.osgi.framework.BundleException: Unable to resolve fish.payara.server.internal.hk2.config-types [46](R 46.0): missing requirement [fish.payara.server.internal.hk2.config-types [46](R 46.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.glassfish.hk2.api [132](R 132.0): missing requirement [org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]] Unresolved requirements: [[fish.payara.server.internal.hk2.config-types [46](R 46.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities)(version>=2.6.0)(!(version>=3.0.0)))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle fish.payara.server.internal.core.glassfish [113] Error starting file:/C:/Users/Work/payara5/glassfish/modules/glassfish.jar (org.osgi.framework.BundleException: Unable to resolve fish.payara.server.internal.core.glassfish [113](R 113.0): missing requirement [fish.payara.server.internal.core.glassfish [113](R 113.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0))) Unresolved requirements: [[fish.payara.server.internal.core.glassfish [113](R 113.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve fish.payara.server.internal.core.glassfish [113](R 113.0): missing requirement [fish.payara.server.internal.core.glassfish [113](R 113.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0))) Unresolved requirements: [[fish.payara.server.internal.core.glassfish [113](R 113.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0)))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.glassfish.hk2.api [132] Error starting file:/C:/Users/Work/payara5/glassfish/modules/hk2-api.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.api [132](R 132.0): missing requirement [org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.glassfish.hk2.utils [138](R 138.0): missing requirement [org.glassfish.hk2.utils [138](R 138.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]] Unresolved requirements: [[org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.6.0)(!(version>=3.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.api [132](R 132.0): missing requirement [org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.glassfish.hk2.utils [138](R 138.0): missing requirement [org.glassfish.hk2.utils [138](R 138.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]] Unresolved requirements: [[org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.6.0)(!(version>=3.0.0)))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle fish.payara.server.internal.hk2.config [133] Error starting file:/C:/Users/Work/payara5/glassfish/modules/hk2-config.jar (org.osgi.framework.BundleException: Unable to resolve fish.payara.server.internal.hk2.config [133](R 133.0): missing requirement [fish.payara.server.internal.hk2.config [133](R 133.0)] osgi.wiring.package; (osgi.wiring.package=javax.management) Unresolved requirements: [[fish.payara.server.internal.hk2.config [133](R 133.0)] osgi.wiring.package; (osgi.wiring.package=javax.management)])
org.osgi.framework.BundleException: Unable to resolve fish.payara.server.internal.hk2.config [133](R 133.0): missing requirement [fish.payara.server.internal.hk2.config [133](R 133.0)] osgi.wiring.package; (osgi.wiring.package=javax.management) Unresolved requirements: [[fish.payara.server.internal.hk2.config [133](R 133.0)] osgi.wiring.package; (osgi.wiring.package=javax.management)]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.glassfish.hk2.locator [136] Error starting file:/C:/Users/Work/payara5/glassfish/modules/hk2-locator.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.locator [136](R 136.0): missing requirement [org.glassfish.hk2.locator [136](R 136.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.api.messaging)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.glassfish.hk2.api [132](R 132.0): missing requirement [org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]] Unresolved requirements: [[org.glassfish.hk2.locator [136](R 136.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.api.messaging)(version>=2.6.0)(!(version>=3.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.locator [136](R 136.0): missing requirement [org.glassfish.hk2.locator [136](R 136.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.api.messaging)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.glassfish.hk2.api [132](R 132.0): missing requirement [org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]] Unresolved requirements: [[org.glassfish.hk2.locator [136](R 136.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.api.messaging)(version>=2.6.0)(!(version>=3.0.0)))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.glassfish.hk2.runlevel [137] Error starting file:/C:/Users/Work/payara5/glassfish/modules/hk2-runlevel.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.runlevel [137](R 137.0): missing requirement [org.glassfish.hk2.runlevel [137](R 137.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8)) Unresolved requirements: [[org.glassfish.hk2.runlevel [137](R 137.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.runlevel [137](R 137.0): missing requirement [org.glassfish.hk2.runlevel [137](R 137.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8)) Unresolved requirements: [[org.glassfish.hk2.runlevel [137](R 137.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.glassfish.hk2.utils [138] Error starting file:/C:/Users/Work/payara5/glassfish/modules/hk2-utils.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.utils [138](R 138.0): missing requirement [org.glassfish.hk2.utils [138](R 138.0)] osgi.wiring.package; (osgi.wiring.package=javax.xml.namespace) Unresolved requirements: [[org.glassfish.hk2.utils [138](R 138.0)] osgi.wiring.package; (osgi.wiring.package=javax.xml.namespace)])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.utils [138](R 138.0): missing requirement [org.glassfish.hk2.utils [138](R 138.0)] osgi.wiring.package; (osgi.wiring.package=javax.xml.namespace) Unresolved requirements: [[org.glassfish.hk2.utils [138](R 138.0)] osgi.wiring.package; 

...

 类似资料:
  • 当我启动Eclipse时,它没有启动 出现一个错误,告诉我查看日志文件 “查看日志文件:/Users/max/work/projects/.metadata/.log” OS:MacOS 10.7.4 Eclipse:4.2 Juno ADT:20 我的旧版本Eclipse启动时没有问题。

  • 我正在使用Tomcat 8.0.12、Ubuntu 14.04.1、IntelliJ IDEA 13.1.5,我尝试运行一个简单的jsp文件,然后IDE注意: 运行index.jsp(1)时出错:将配置文件从/opt/Tomcat 8/Apache-Tomcat-8 . 0 . 12/conf复制到/home/vy/时出错。intellij dea13/system/Tomcat/_ EE01/c

  • 我在eclipse安装中复制了一些插件(特别是Green和ObjectAid)。 我删除了它们(因为它不起作用),但现在我无法启动eclipse(即使使用)。 我得到: !session 2013-02-08 !Entry org.eclipse.osgi 4 0 201 3-02-08 16:21:17.779!Message Application error!Stack 1 java.lan

  • 问题内容: 我的日食没有启动,因为我的计算机有点死机了,所以我不得不强制重新启动它。当我不得不重新启动时,Eclipse是打开的,我相信这很可能是原因。我不知道该如何解决。每当我尝试打开它时,它都会告诉我检查工作区中的.log文件,并显示: http://paste.strictfp.com/26579 而且我不知道如何解决它。请帮忙? 问题答案: 您缺少 第125行的 类,您必须重新安装才能解决

  • 我已经在Eclipse中运行了对已安装特性的更新。现在Eclipse不会启动。我已经删除了.lock文件。我没有.快照文件。我已经重新安装并解压缩了eclipse以替换我当前的eclipse目录。下面是我使用-clean运行eclipse后的.log文件: !session 2012-11-07 10:11:05.302---------------------------------------

  • 我在JavaEE项目中使用eclipse 怎么修? 在我的电脑意外关机之前,glassfish的一切都很好