报错:Maven Resources Compiler: Maven project configuration required for module 'xxx' isn't available.

新建maven项目时,Problems中报错:Error:Maven Resources Compiler: Maven project configuration required for module 'xxx' isn't available. Compilation of Maven projects is supported only if external build is started from an IDE.【Maven资源编译器:模块“xxx”所需的Maven项目配置不可用。只有从IDE启动外部构建时,才支持Maven项目的编译。】

解决办法:在idea中,点击 Build 然后选择选择Build Project(建置专案)【或 Rebuild Project(重新建置项目)】即可

发布了144 篇原创文章 · 获赞 25 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/AdminGuan/article/details/102968101