IntelliJ doesn't recognize java project after cloning

前端 未结 4 1205
北荒
北荒 2021-02-01 12:53

I\'ve cloned my repo from bitbucket and I am trying to open it in IntelliJ IDE, but i can\'t set Debug Configuration, can\'t set Main class in Application menu. I can\'t also ad

4条回答
  •  误落风尘
    2021-02-01 13:16

    Yes, marking src folder as 'Source Root' resolved the issue. Earlier intellij was not detecting java files.

    Go to: Right Click --> src --> (Choose option) Mark Directory as --> Source Root.

提交回复
热议问题