Eclipse type hierarchy not always working

前端 未结 3 1694
醉梦人生
醉梦人生 2020-12-23 17:39

When I want to see implementation of some interface through F4 (type hierarchy) or ctrl+t (quick hierarchy) or implementation of a method, I

相关标签:
3条回答
  • 2020-12-23 17:42

    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.

    0 讨论(0)
  • 2020-12-23 17:51

    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.

    0 讨论(0)
  • 2020-12-23 17:57

    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.

    0 讨论(0)
提交回复
热议问题