Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

java

eclipse

After migrating the workspace from windows to mac, got the error that:

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

The projects got displayed as empty projects in Eclipse. Is there a way to get around this problem, without recreating the workspace and reimporting the projects?

like image 662
Krishna Avatar asked May 10 '13 17:05

Krishna


1 Answers

Initially I was thinking that this was an issue with .classpath file. But, the classpath file did not have an entry with the offending file. But the entry was in .metadata/.plugins/org.eclipse.jst.j2ee.web/webLibrariesCache.index

file of the workspace.

I deleted the file and was able to open the workspace successfully and see the project.

like image 70
Krishna Avatar answered Nov 15 '22 02:11

Krishna