"Initializing Java Tooling".assertion failed: Path for IClasspathEntry must be absolute.

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了。

你可能感兴趣的:("Initializing Java Tooling".assertion failed: Path for IClasspathEntry must be absolute.)