Cntrl+Click is not working

已回答

As per the title, I could not able to navigate to methods using command+click in macbook pro m1.
It says Cannot find declaration to go to

Its an Java class

I have attached what i see in intellij is it might not be compiled. I have build the jar file too using mvn clean install -Dmaven.skip.test=true. 

could you please help me to navigate through methods. 

0
From the icon it seems like that java file is not under the source root folder which can be configured in the IDE.
https://www.jetbrains.com/help/idea/content-roots.html#configure-folders

Does it help if you reload the maven project from the maven window?
0

请先登录再写评论。