Eclipse错误:org.osgi.framework.BundleException:无法解析模块:org.eclipse.datatools.enablement.ibm.db2.luw.ui

时间:2018-01-24 22:10:50

标签: java eclipse crash

这是元日志文件。 Eclipse版本是Oxygen。

!SESSION 2018-01-24 15:44:27.331 -----------------------------------------------
eclipse.buildId=4.7.0.I20170612-0950
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_CA
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

.....

!SESSION 2018-01-24 16:14:44.889 -----------------------------------------------
eclipse.buildId=4.7.0.I20170612-0950
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_CA
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.datatools.enablement.ibm 4 0 2018-01-24 16:14:46.642
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.datatools.enablement.ibm [1143]
  Unresolved requirement: Require-Bundle: org.eclipse.datatools.sqltools.parsers.sql; bundle-version="[1.2.0,2.0.0)"

    at org.eclipse.osgi.container.Module.start(Module.java:444)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1628)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1607)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1579)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1522)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.datatools.enablement.ibm.db2 4 0 2018-01-24 16:14:46.645
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.datatools.enablement.ibm.db2 [1144]
  Unresolved requirement: Require-Bundle: org.eclipse.datatools.sqltools.data.core; bundle-version="[1.4.0,2.0.0)"
  Unresolved requirement: Require-Bundle: org.eclipse.datatools.enablement.ibm; bundle-version="[1.2.0,2.0.0)"
    -> Bundle-SymbolicName: org.eclipse.datatools.enablement.ibm; bundle-version="1.2.0.201701131441"; singleton:="true"
       org.eclipse.datatools.enablement.ibm [1143]
         Unresolved requirement: Require-Bundle: org.eclipse.datatools.sqltools.parsers.sql; bundle-version="[1.2.0,2.0.0)"

    at org.eclipse.osgi.container.Module.start(Module.java:444)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1628)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1607)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1579)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1522)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.datatools.enablement.ibm.db2.luw 4 0 2018-01-24 16:14:46.646
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.datatools.enablement.ibm.db2.luw [1148]
  Unresolved requirement: Require-Bundle: org.eclipse.datatools.enablement.ibm; bundle-version="[1.2.0,2.0.0)"
    -> Bundle-SymbolicName: org.eclipse.datatools.enablement.ibm; bundle-version="1.2.0.201701131441"; singleton:="true"
       org.eclipse.datatools.enablement.ibm [1143]
         Unresolved requirement: Require-Bundle: org.eclipse.datatools.sqltools.parsers.sql; bundle-version="[1.2.0,2.0.0)"
  Unresolved requirement: Require-Bundle: org.eclipse.datatools.enablement.ibm.db2; bundle-version="[1.2.0,2.0.0)"
    -> Bundle-SymbolicName: org.eclipse.datatools.enablement.ibm.db2; bundle-version="1.2.0.201701131441"; singleton:="true"
       org.eclipse.datatools.enablement.ibm.db2 [1144]
         Unresolved requirement: Require-Bundle: org.eclipse.datatools.enablement.ibm; bundle-version="[1.2.0,2.0.0)"
           -> Bundle-SymbolicName: org.eclipse.datatools.enablement.ibm; bundle-version="1.2.0.201701131441"; singleton:="true"

    at org.eclipse.osgi.container.Module.start(Module.java:444)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1628)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1607)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1579)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1522)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.datatools.enablement.ibm.db2.luw.ui 4 0 2018-01-24 16:14:46.647
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.datatools.enablement.ibm.db2.luw.ui [1150]
  Unresolved requirement: Require-Bundle: org.eclipse.datatools.enablement.ibm.db2.luw; bundle-version="[1.2.0,2.0.0)"
    -> Bundle-SymbolicName: org.eclipse.datatools.enablement.ibm.db2.luw; bundle-version="1.2.0.201701131441"; singleton:="true"
       org.eclipse.datatools.enablement.ibm.db2.luw [1148]
         Unresolved requirement: Require-Bundle: org.eclipse.datatools.enablement.ibm; bundle-version="[1.2.0,2.0.0)"
           -> Bundle-SymbolicName: org.eclipse.datatools.enablement.ibm; bundle-version="1.2.0.201701131441"; singleton:="true"
              org.eclipse.datatools.enablement.ibm [1143]
                Unresolved requirement: Require-Bundle: org.eclipse.datatools.sqltools.parsers.sql; bundle-version="[1.2.0,2.0.0)"
         Unresolved requirement: Require-Bundle: org.eclipse.datatools.enablement.ibm.db2; bundle-version="[1.2.0,2.0.0)"
           -> Bundle-SymbolicName: org.eclipse.datatools.enablement.ibm.db2; bundle-version="1.2.0.201701131441"; singleton:="true"
              org.eclipse.datatools.enablement.ibm.db2 [1144]
                Unresolved requirement: Require-Bundle: org.eclipse.datatools.enablement.ibm; bundle-version="[1.2.0,2.0.0)"
                  -> Bundle-SymbolicName: org.eclipse.datatools.enablement.ibm; bundle-version="1.2.0.201701131441"; singleton:="true"

    at org.eclipse.osgi.container.Module.start(Module.java:444)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1628)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1607)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1579)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1522)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.egit.ui 2 0 2018-01-24 16:14:59.856
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\vzheng'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

我尝试了什么:

  • 确保-vmC:/Program Files/Java/jdk1.8.0_131/bin/javaw.ex位于不同的行。

  • 确保我使用的是jdk版本,而不是jre版本。

但它仍然失败。我不知道我还能做些什么来解决这个问题。也许是GitHub问题?如果是,我该如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

感谢@Taslim链接,我结束了javaw.exe进程,重新启动计算机,它工作正常......