Intellij idea cannot resolve anything in maven

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

    Using default maven (which comes with IntelliJ) also could create this problem. So configure the maven which you have installed.

    This can be done from: File -> Settings -> Build, Execution, Deployment -> Maven

    Update following settings according to your maven installation:

    1. Maven home directory =
    2. User settings file =
    3. Local repository =

提交回复
热议问题