Maven 右边的maven 项目为空 pom文件

下图右边的maven Projects是空的,原因是项目没有用maven管理起来;(注意下图右边已经被管理起来了,所以右边有了项目)

处理方法为:

右击父的pom.xml 然后 设置为 add as maven File

我已经设置了,所以只有一个 add as Ant File

原文地址:https://www.cnblogs.com/aspirant/p/13851985.html