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

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.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324983430&siteId=291194637