Could not initialize class org.eclipse.jface.preference.PreferenceConverter
来源:互联网 发布:mazak数控车床编程 编辑:程序博客网 时间:2024/06/04 19:32
打开eclipse,启动出错,从workspace/.metadata/.log里看到报错信息如下:
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jface.preference.PreferenceConverter
at org.eclipse.ui.internal.themes.ThemeElementHelper.installFont(ThemeElementHelper.java:103)
at org.eclipse.ui.internal.themes.ThemeElementHelper.populateRegistry(ThemeElementHelper.java:59)
at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1550)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2478)
at org.eclipse.ui.internal.Workbench.access$7(Workbench.java:2386)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:583)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
最后,网上有说把
workspace/.metadata/.plugins/org.eclipse.core.resources/.snap ,试了一下,可以解决。重启,可以打开eclipse了。
- Could not initialize class org.eclipse.jface.preference.PreferenceConverter
- Solution for "Could not initialize class org.eclipse.jface.preference.PreferenceConverter"
- Could not initialize class org.eclipse.jgit.util.FS
- Could not initialize class org.slf4j.LoggerFactory
- 解决Eclipse错误:Could not initialize class org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants
- Could not initialize class org.eclipse.wst.server.ui.internal.provisional.UIDecoratorManager
- Could not initialize class org.apache.struts2.json.JSONResult
- org.apache.cxf.binding.soap.SoapFault: Could not initialize class
- Could not initialize class org.apache.xpath.compiler.FunctionTable
- NoClassDefFoundError: Could not initialize class org.springframework.web.client.RestTemplate
- Could not initialize class org.apache.log4j.Log4jLoggerFactory
- Could not initialize class org.apache.log4j.LogManager
- 使用Eclipse的hibernate插件进行工程反转生成po类Could not initialize class org.hibernate.cfg.reveng.OverrideReposity
- eclipse错误:parseSdkContent failed Could not initialize class android.graphics
- NoClassDefFoundError: Could not initialize class
- org.apache.cxf.interceptor.Fault: Could not initialize class org.springframework.jdbc.core.Statement
- org.hibernate.LazyInitializationException:could not initialize proxy
- org.hibernate.LazyInitializationException: could not initialize proxy
- Redis系列-存储篇sorted set主要操作函数小结
- Android中SQLite应用详解
- ubuntu-12.10-desktop-i386安装注意事项(备忘录)
- 互联网时代的时间管理实践
- 自动连接VPN
- Could not initialize class org.eclipse.jface.preference.PreferenceConverter
- 用C自己编写telnet服务器
- memory:arm 分区layout以及虚拟内存布局-小结
- C标准库
- 无意中发现一个js网站,先记录下来,有空再研究
- 枚举类型
- CentOS 6.2 上编译安装 Nginx 1.0.15 + PHP 5.3.16 + MySQL 5.1.62
- makefile
- 关于eclipse库文件的导入 jar