Intellij IDEA导入新项目的maven依赖没有自动添加

Intellij IDEA导入新项目的maven依赖没有自动添加

问题描述:

在使用IntelliJ IDEA导入一个java工程的时候 ,其中里面的maven依赖并没有自动添加进去,但是pom.xml 是存在的。

解决方法:

右击pom.xml 选择 add Maven project 这个选项就可以了。
日常踩坑,记录一下。

猜你喜欢

转载自blog.csdn.net/qq_31017737/article/details/81010462