Intellij idea cannot resolve anything in maven

后端 未结 28 2152
一个人的身影
一个人的身影 2020-11-29 16:15

I\'m new to Intellij Idea, i just import a project with pom.xml, but the ide didn\'t resolve anything in maven dependencies.

Anything defined in p

28条回答
  •  春和景丽
    2020-11-29 16:24

    I was also getting this error because the project imported main and test folders as modules. Click on Project --> Press F4 --> In Module settings, remove main and test folders and the make the project again. Problem will be resolved.

提交回复
热议问题