按Ctrl+左鍵真屯,不能進(jìn)入類或方法的解決辦法蚯撩,提示Cannot find declaration to go to
系統(tǒng)中已經(jīng)有了該類庫(kù),還是找不到類提示
image.png
1莫矗、close the project in intellij.關(guān)閉項(xiàng)目
2、close intellij.關(guān)閉idea
3柄驻、go to the project folder and delete the .idea folder狐树,去到項(xiàng)目所在目錄,刪除.idea文件夾
4鸿脓、restart intellij and open the project (wait for the indexing to finish) and it would work.重新打開項(xiàng)目