An error has occurred please see...启动Eclipse时报错
第一次安装JDK1.5,使用Eclipse,毫无问题。后为了改变JDK1.5安装路径故卸载重装,然后就发现用不了;
让我去.metadata/.log查看;
!SESSION 2013-10-03 09:39:56.500 ----------------------------------------------- eclipse.buildId=M20110210-1200 java.version=1.5.0-beta java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.osgi 2 0 2013-10-03 09:40:07.138 !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists: !SUBENTRY 1 org.eclipse.osgi 2 0 2013-10-03 09:40:07.138 !MESSAGE Bundle org.eclipse.jdt.apt.pluggable.core_1.0.301.R36_v20100727-0110 [307] was not resolved. !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2013-10-03 09:40:07.138 !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0. !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2013-10-03 09:40:07.138 !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0. !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2013-10-03 09:40:07.138 !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0. !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2013-10-03 09:40:07.138 !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0. !SUBENTRY 1 org.eclipse.osgi 2 0 2013-10-03 09:40:07.138 !MESSAGE Bundle org.eclipse.jdt.compiler.apt_1.0.300.v20100513-0845 [309] was not resolved. !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2013-10-03 09:40:07.138 !MESSAGE Missing optionally imported package org.eclipse.jdt.internal.compiler.tool_0.0.0. !SUBENTRY 1 org.eclipse.osgi 2 0 2013-10-03 09:40:07.138 !MESSAGE Bundle org.eclipse.jdt.compiler.tool_1.0.100.v_A76_R36x [310] was not resolved. !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2013-10-03 09:40:07.138 !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6
!ENTRY org.eclipse.osgi 4 0 2013-10-03 09:40:07.140 !MESSAGE Application error !STACK 1 java.util.MissingResourceException: Wrong font data format. Value is: "END NON-TRANSLATABLE" at org.eclipse.
将网上的方法都用了一遍;删除这删除那啊,修改环境变量啊,cmd下Eclipse.exe -clean都不管用;
后来实在不行按照建议换Eclipse版本,我勒个去还是不行,要崩溃了。。。
静下来思考,既然跟Eclipse没关系,按照错误日志明显是某资源缺失,那肯定是jdk出了问题,然后仔细阅读日志发现MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6,果断换jdk1.6。。。。OH MyGod!!成功了

浙公网安备 33010602011771号