idea新建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项目的编译】,如图:
解决办法:找到上面的Build(构造) -> Build Project(构造项目)即可【或Build -> Build Module'xxx'(重建'xxx‘模块),或Build -> Rebuild Project(重建项目)】,如图: