1、Settings -> Maven -> Importing 确保 import maven projects automatically 勾上,自动加载maven依赖 到 classpath
2、确保 ingored 没有本项目的pom
1、Settings -> Maven -> Importing 确保 import maven projects automatically 勾上,自动加载maven依赖 到 classpath
2、确保 ingored 没有本项目的pom
转载于:https://my.oschina.net/weal666/blog/804211