Intellij idea cannot resolve anything in maven

后端 未结 28 2161
一个人的身影
一个人的身影 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:43

    I had the very same problem as author!

    To solve my issue I had to add Maven Integration Plugin: File | Settings | Plugins

    Like this:

    Maven Integration Plugin

    After that Intellij downloaded all the dependencies from pom.xml file.

    Now if I want to create a project based on maven model, I just choose Open on the first Intellij window and choose the pom.xml file:

    enter image description here

提交回复
热议问题