intellij say “cannot find declaration to go to“

Posted 飞翔的熊blabla

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了intellij say “cannot find declaration to go to“相关的知识,希望对你有一定的参考价值。

I had the same problem, here is what fixed it for me:

  1. close the project in intellij.
  2. close intellij.
  3. go to the project folder and delete the .idea folder
  4. restart intellij and open the project (wait for the indexing to finish) and it would work.

以上是关于intellij say “cannot find declaration to go to“的主要内容,如果未能解决你的问题,请参考以下文章