简体   繁体   English

无法启动 Eclipse

[英]Unable to launch Eclipse

I installed Eclipse recently.我最近安装了 Eclipse。 When I try to launch Eclipse, it is showing the following popup.当我尝试启动 Eclipse 时,它显示以下弹出窗口。 Error Log .错误日志 I deleted the metadata of workspace, but it didn't work.我删除了工作区的元数据,但没有用。 I also thought of changing the preference unchecking, but I was not able to start Eclipse itself.我也想过取消选中更改首选项,但我无法启动 Eclipse 本身。 Please help.请帮忙。

Error Message is a follows:错误信息如下:

!SESSION 2020-09-01 12:40:51.755 -----------------------------------------------
eclipse.buildId=4.15.0.I20200305-0155
java.version=1.8.0_251
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_IN
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.cdt.docker.launcher 4 0 2020-09-01 12:40:54.258
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.cdt.docker.launcher [673]
  Unresolved requirement: Require-Bundle: org.eclipse.linuxtools.docker.core; bundle-version="[4.0.0,5.0.0)"
    -> Bundle-SymbolicName: org.eclipse.linuxtools.docker.core; bundle-version="4.7.0.202006092019"; singleton:="true"
       org.eclipse.linuxtools.docker.core [763]
         Unresolved requirement: Import-Package: javax.xml.bind; version="2.3.3"
  Unresolved requirement: Require-Bundle: org.eclipse.linuxtools.docker.ui; bundle-version="[4.0.0,5.0.0)"
    -> Bundle-SymbolicName: org.eclipse.linuxtools.docker.ui; bundle-version="4.7.0.202006092019"; singleton:="true"
       org.eclipse.linuxtools.docker.ui [766]
         Unresolved requirement: Import-Package: javax.xml.bind; version="2.3.3"

    at org.eclipse.osgi.container.Module.start(Module.java:462)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1844)
    at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1837)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1778)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1742)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1664)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.eclipse.linuxtools.docker.core 4 0 2020-09-01 12:40:54.310
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.linuxtools.docker.core [763]
  Unresolved requirement: Import-Package: javax.xml.bind; version="2.3.3"

    at org.eclipse.osgi.container.Module.start(Module.java:462)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1844)
    at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1837)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1778)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1742)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1664)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.eclipse.linuxtools.docker.ui 4 0 2020-09-01 12:40:54.357
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.linuxtools.docker.ui [766]
  Unresolved requirement: Import-Package: javax.xml.bind; version="2.3.3"

    at org.eclipse.osgi.container.Module.start(Module.java:462)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1844)
    at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1837)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1778)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1742)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1664)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

Your Eclipse installation is broken : according to the log a plugin (containing the javax.xml.bind package in version 2.3.3 or higher) is missing that is required by the Eclipse Docker Tooling .您的Eclipse 安装已损坏:根据日志,缺少 Eclipse Docker 工具所需的插件(包含 2.3.3 或更高版本中的javax.xml.bind package )。 This might be an issue with an installed plugin maybe in combination with the outdated Eclipse you have.这可能是安装的插件的问题,可能与您拥有的过时的 Eclipse 结合使用。

In this case, the easiest solution is probably to install a current Eclipse from scratch (maybe the Eclipse IDE for Enterprise Java Developers which can then be extended by additional plugins).在这种情况下,最简单的解决方案可能是从头开始安装当前的 Eclipse对于企业 Java 开发人员,可能是 Eclipse IDE,然后可以通过其他插件进行扩展)。 It is also possible to uninstall or update existing plugins from the command line, but that would probably take longer and be more difficult since the real reason causing this issue is unknown.也可以从命令行卸载或更新现有插件,但这可能需要更长时间并且更困难,因为导致此问题的真正原因未知。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM