启动Eclipse时出现以下错误

时间:2018-07-21 00:17:39

标签: java eclipse

当我开始蚀时,出现以下错误。 使用

的Java 10,jdk 1.8 eclipse_v1.7.0_79 tomcat 7.0

**

  

!会议2018-07-21 09:12:20.235   ----------------------------------------------- eclipse.buildId = 4.3.2.M20140221-1700 java.version = 10.0.1   java.vendor = Oracle Corporation BootLoader常数:OS = win32,   ARCH = x86_64,WS = win32,NL = zh_CN框架参数:-product   org.eclipse.epp.package.jee.product命令行参数:-os win32   -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product -data D:\ DEV \ workspace_EDU!ENTRY org.eclipse.osgi 4 0 2018-07-21 09:12:22.841!MESSAGE启动错误!堆栈1   java.lang.RuntimeException:中的异常   org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start()   org.eclipse.osgi捆绑包。在   org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:233)     在   org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:656)     在   org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:275)     在   org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)     在   java.base / jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(本机   方法)   java.base / jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     在   java.base / jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     在java.base / java.lang.reflect.Method.invoke(Method.java:564)在   org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)位于   org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)在   org.eclipse.equinox.launcher.Main.run(Main.java:1450)原因:   org.osgi.framework.BundleException:中的异常   org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start()   org.eclipse.osgi捆绑包。在   org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)     在   org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)     在   org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:225)     ... 10更多原因:java.lang.IllegalStateException:系统   捆绑包无法解决:缺少约束:   捆绑包所需的执行环境:J2SE-1.5 at   org.eclipse.osgi.internal.baseadaptor.BaseStorage.checkSystemState(BaseStorage.java:827)     在   org.eclipse.osgi.internal.baseadaptor.BaseStorage.getStateManager(BaseStorage.java:800)     在   org.eclipse.osgi.baseadaptor.BaseAdaptor.getState(BaseAdaptor.java:387)     在   org.eclipse.osgi.internal.baseadaptor.BaseStorage.frameworkStart(BaseStorage.java:923)     在   org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStart(BaseAdaptor.java:250)     在   org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:60)     在   org.eclipse.osgi.framework.internal.core.BundleContextImpl $ 1.run(BundleContextImpl.java:711)     在java.base / java.security.AccessController.doPrivileged(本机   方法)   org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)     ...还有12个

**

1 个答案:

答案 0 :(得分:0)

您安装的Eclipse IDE版本比Java版本早两年。下载新版本的eclipse并尝试再次完成...