Initializing Java Tooling".assertion failed: Path for IClasspathEntry must be absolute
2012-08-13 17:35
435 查看
myeclipse软件出现错误An error has occurred.See error log for more details. Reason: com/genuitec/eclipse/j2eedt/core/J2EEProjectUtil
Eclipse:Could not create the view: Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.j
错误信息:An internal error occurred during: "Initializing Java Tooling".assertion failed: Path for IClasspathEntry must be absolute.
并且不能建立web项目(创建web project时,弹出Plug-in com.genuitec.eclipse.j2eedt.core was unable to load class com.genuitec.eclipse.j2eedt.ui.wizard.NewWebProjectWizard.
An error occurred while automatically activating bundle com.genuitec.eclipse.j2eedt.core (68).
)。
今天上午灵光一现,我换了一个workspace,就能正常打开了,不会有上面的报错了。我就想到应该是两个不同的workspace是有区别的,我到报错的workspace中看,发现有个".metadata"文件夹,里面有200多M的东东,应该是该workspace的一些属性信息,所以我删除了.metadata文件夹,然后重新打开Eclipse进入这个workspace,就可以正常工作了。Eclipse重新加载该workspace时,会重新生成.metadata的。
总之,解决方案就是:删除workspace下的.metadata文件夹,重新打开Eclipse就OK了。
Eclipse:Could not create the view: Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.j
错误信息:An internal error occurred during: "Initializing Java Tooling".assertion failed: Path for IClasspathEntry must be absolute.
并且不能建立web项目(创建web project时,弹出Plug-in com.genuitec.eclipse.j2eedt.core was unable to load class com.genuitec.eclipse.j2eedt.ui.wizard.NewWebProjectWizard.
An error occurred while automatically activating bundle com.genuitec.eclipse.j2eedt.core (68).
)。
今天上午灵光一现,我换了一个workspace,就能正常打开了,不会有上面的报错了。我就想到应该是两个不同的workspace是有区别的,我到报错的workspace中看,发现有个".metadata"文件夹,里面有200多M的东东,应该是该workspace的一些属性信息,所以我删除了.metadata文件夹,然后重新打开Eclipse进入这个workspace,就可以正常工作了。Eclipse重新加载该workspace时,会重新生成.metadata的。
总之,解决方案就是:删除workspace下的.metadata文件夹,重新打开Eclipse就OK了。
相关文章推荐
- "Initializing Java Tooling".assertion failed: Path for IClasspathEntry must be absolute.
- 关于MyEclipse错误:assertion failed:Path for IClasspathEntry must be absolute
- assertion failed: Path for IClasspathEntry must be absolute解决方法
- assertion failed: Path for IClasspathEntry must be absolute解决方法
- assertion failed: Path for IClasspathEntry must be absolute解决方法
- MyEclipse 错误 assertion failed: Path for IClasspathEntry must be absolute
- assertion failed:Path for IClasspathEntry must be absolute
- assertion failed:Path for IClasspathEntry must be absolute
- MyEclipse 错误 assertion failed: Path for IClasspathEntry must be absolute
- go: GOPATH entry is relative; must be absolute path: "".
- win7下go: GOPATH entry is relative; must be absolute path: "".
- Function importPackage must be called with a package; had "[JavaClass java.util.ArrayList]"
- Function importPackage must be called with a package; had "[JavaClass java.util.ArrayList]"
- Error:Execution failed for task ':app:javaPreCompileDebug'. > Annotation processors must be explicit
- JAVA Error:The project was not built since its build path is incomplete. Cannot find the class file for java.util.Map$Entry.....
- The tag handler class for "c:set"(org.apache.taglibs.standard.tag.rt.core.UrlTag)was not found on the Java Build Path
- JAVA Error:The project was not built since its build path is incomplete. Cannot find the class file for java.util.Map$Entry.....
- Function importPackage must be called with a package; had "[JavaClass java.util.ArrayList]"
- Attribute "resultClass" must be declared for element type "insert".
- 1.Attribute "table" must be declared for element type "subclass".