These modules have been removed from Maven structure: ‘xxx‘ Do you want them to be removed f

❤️IDEA总结100篇(❤️持续更新,建议收藏❤️!!)

目录

一、问题

二、修改

一、问题

新迁移一个项目的时候,都引用依赖的情况下,依然报错

These modules have been removed from Maven structure: 'xxx'   
Do you want them to be removed from the project too?

经查原因是,从IDEA中删除原有的module后,再从git上导入同名的module时更新pom文件导致的

二、修改

File-Settings-Maven-lgnored Files

把打勾的pom.xml去掉

有用请点赞,养成良好习惯!

疑问交流鼓励请留言!

扫描二维码关注公众号,回复: 14030850 查看本文章


猜你喜欢

转载自blog.csdn.net/libusi001/article/details/124417277