idea intellij maven project can't make

前端 未结 8 946
醉话见心
醉话见心 2021-02-05 23:18

I have maven project. Maven build complete SUCCESS. But i can\'t make this project.

[INFO] BUILD SUCCESS

Project contains one module. Idea can\'t see dependencie

8条回答
  •  清歌不尽
    2021-02-05 23:42

    I had faced the same problem, and the issue was small. I had changed the location of settings.xml file of maven and Intellij was picking up the default from C:\users\.m2\settings.xml

    So point your maven settings.xml to the correct file as below: File--> Settings--> Build, Execution, Deployment--> Maven then on the right window, override "User settings file" to the settings.xml where you have in your local disk.

    If you have installed maven in a non-default location then this file you can find in: \apache-maven-3.2.3\conf\settings.xml

提交回复
热议问题