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