记-升级idea 2021.1之后maven多模块项目修改代码后编辑报错
·
1.问题描述
升级idea前使用idea 2020.1 maven多模块项目运行正常,升级到idea 2021.1后,每次修改代码,项目均无法正常编译。
Error:Maven Resources Compiler: Maven project configuration required for module 'xxxxxx' isn't available. Compilation of Maven projects is supported only if external build is started from an IDE.
2.解决办法
删除.idea文件夹以及其它配置文件,重新导入项目,idea会自动将其识别为maven multi module project项目默认配置即可!
更多推荐

所有评论(0)