Intellij IDEA, press Ctrl+left key, can not enter the class or method [solution], prompt Cannot find declaration to go to
Intellij IDEA, press Ctrl+left key, can not enter the class or method [solution], prompt Cannot find declaration to go to
As shown in the figure, when pressing Ctrl + mouse click, the system prompts Cannot find declaration to go to.
Reason: Open instead of Import Project was used when importing the project.
Solution: close the current project, click Import PrOject as shown in the figure, and import the project.