Eclipse type hierarchy not always working

此生再无相见时 提交于 2019-11-29 22:19:51

I had this same problem and fixed it by deleting the Eclipse index cache files located in .metadata/.plugins/org.eclipse.jdt.core. Delete all .index files and savedIndexNames.txt. Do this while Eclipse is not running and then restart. This fixed the issue for me.

Pavel Coufal

Use Eclipse clean mode for deleting caches, look here: How to run eclipse in clean mode? and what happens if we do so?

Sometimes is good to use clean mode to prevent these types of problems.

I also had this problem and fixed it. The reason of this problem is that when the eclipse is running, I reinstall the JDK from 1.8 to 1.6. So I close eclipse, install JDK 1.8 again, then it's OK! May it will be helpful for others.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!