Intellij idea cannot resolve anything in maven

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

    I ran into this issue when using IntelliJ 14's bundled Maven 3 instance.

    I switched to using my own local Maven instance, via:

    Settings -> Build, Execution, Deployment -> Build Tools -> Maven -> Maven Home Directory

    Then added the path to my locally installed instance.

    This got the dependencies to magically appear.

提交回复
热议问题