Eclipse从3.8.2升级到4.5.2

时间:2016-04-13 19:10:06

标签: java eclipse

我已将我的eclipse项目从 3.8.2 升级到 4.5.2
我能够构建项目但是在运行时我遇到了许多错误的捆绑包错误:

  

org.osgi.framework.BundleException:无法解析模块:com.codegear.sanctuary.client.headless [11]
  未解决的要求:Require-Bundle:org.eclipse.core.runtime

现在这是来自eclipse的插件/ jar。我没有权利修改它们 那么在这种情况下如何解决这些错误呢? 任何帮助表示赞赏。

详细日志:

这是日志: org.osgi.framework.BundleException:bundle org.eclipse.equinox.simpleconfigurator的org.eclipse.equinox.internal.simpleconfigurator.Activator.start()中的异常。     在org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792)     在org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)     在org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:941)     在org.eclipse.osgi.internal.framework.EquinoxBundle $ EquinoxModule.startWorker(EquinoxBundle.java:318)     在org.eclipse.osgi.container.Module.doStart(Module.java:571)     在org.eclipse.osgi.container.Module.start(Module.java:439)     at org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)     在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)     在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)     在org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:242)     在org.eclipse.osgi.container.Module.doStart(Module.java:571)     在org.eclipse.osgi.container.Module.start(Module.java:439)     在org.eclipse.osgi.container.SystemModule.start(SystemModule.java:172)     在org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:392)     在org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:411)     在org.eclipse.osgi.launch.Equinox.start(Equinox.java:115)     在org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:318)     在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:231)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)     在org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)     在org.eclipse.equinox.launcher.Main.run(Main.java:1515)     在org.eclipse.equinox.launcher.Main.main(Main.java:1488) 引起:java.lang.IllegalStateException:系统软件包已更新。必须重新启动框架才能完成配置更改     在org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:80)     at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:191)     at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:205)     在org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:60)     在org.eclipse.osgi.internal.framework.BundleContextImpl $ 3.run(BundleContextImpl.java:771)     在org.eclipse.osgi.internal.framework.BundleContextImpl $ 3.run(BundleContextImpl.java:1)     at java.security.AccessController.doPrivileged(Native Method)     在org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)     ......还有25个 根异常: java.lang.IllegalStateException:系统软件包已更新。必须重新启动框架才能完成配置更改     在org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:80)     at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:191)     at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:205)     在org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:60)     在org.eclipse.osgi.internal.framework.BundleContextImpl $ 3.run(BundleContextImpl.java:771)     在org.eclipse.osgi.internal.framework.BundleContextImpl $ 3.run(BundleContextImpl.java:1)     at java.security.AccessController.doPrivileged(Native Method)     在org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)     在org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)     在org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:941)     在org.eclipse.osgi.internal.framework.EquinoxBundle $ EquinoxModule.startWorker(EquinoxBundle.java:318)     在org.eclipse.osgi.container.Module.doStart(Module.java:571)     在org.eclipse.osgi.container.Module.start(Module.java:439)     at org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)     在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)     在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)     在org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:242)     在org.eclipse.osgi.container.Module.doStart(Module.java:571)     在org.eclipse.osgi.container.Module.start(Module.java:439)     在org.eclipse.osgi.container.SystemModule.start(SystemModule.java:172)     在org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:392)     在org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:411)     在org.eclipse.osgi.launch.Equinox.start(Equinox.java:115)     在org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:318)     在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:231)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)     在org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)     在org.eclipse.equinox.launcher.Main.run(Main.java:1515)     在org.eclipse.equinox.launcher.Main.main(Main.java:1488)

!ENTRY MigrationBenchmark 4 0 2016-04-14 01:01:09.840 !MESSAGE FrameworkEvent ERROR !堆栈0 org.osgi.framework.BundleException:无法解析模块:MigrationBenchmark [2]   未解决的要求:Require-Bundle:org.eclipse.ui

at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
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 WindowTesterPlugin 4 0 2016-04-14 01:01:09.845 !MESSAGE FrameworkEvent ERROR !堆栈0 org.osgi.framework.BundleException:无法解析模块:WindowTesterPlugin [3]   未解决的要求:Require-Bundle:org.eclipse.ui

at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
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)

由于

0 个答案:

没有答案