请教一个eclipse插件开发的错误

jsjlw 2007-02-07 11:04:34
我在eclipse3.1下开发了一个插件,现在要移到3.2下,并整理的目录结果,但以eclipse application运行调试的时候出现如下错误
!SESSION 2007-02-07 10:18:55.234 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.sdk.ide -pdelaunch
Command-line arguments: -product org.eclipse.sdk.ide -data D:\NGP SDK\runtime-EclipseApplication -dev file:D:/NGP SDK/NGP/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -pdelaunch -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.core.runtime 4 0 2007-02-07 10:18:56.890
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.runtime.PlatformActivator.start() of bundle org.eclipse.core.runtime.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1010)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:329)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1037)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:573)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:495)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:455)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/adaptor/FileManager
at org.eclipse.core.internal.runtime.InternalPlatform.initializeRuntimeFileManager(InternalPlatform.java:785)
at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:1086)
at org.eclipse.core.internal.runtime.PlatformActivator.startInternalPlatform(PlatformActivator.java:141)
at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:57)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
... 10 more
Root exception:
java.lang.NoClassDefFoundError: org/eclipse/core/runtime/adaptor/FileManager
at org.eclipse.core.internal.runtime.InternalPlatform.initializeRuntimeFileManager(InternalPlatform.java:785)
at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:1086)
at org.eclipse.core.internal.runtime.PlatformActivator.startInternalPlatform(PlatformActivator.java:141)
at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:57)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:329)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1037)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:573)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:495)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:455)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)

!ENTRY org.eclipse.osgi 4 0 2007-02-07 10:18:56.906
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.1.1.jar/ [3] is not active.

谢谢啦
...全文
241 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
lw9313 2007-02-08
  • 打赏
  • 举报
回复
项目的插件依赖项没有换吧
follow_you 2007-02-08
  • 打赏
  • 举报
回复
好象是jdk版本的问题,我以前也碰到过,后来换成1.5就可以了

58,454

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧