報錯信息:
Error:Maven Resources Compiler: Maven project configuration required for module 'user-web' isn't available.
Compilation of Maven projects is supported only if external build is started from an IDE.
解決辦法:
如果是 idea 的話,右擊 pom.xml 文件,選擇最下面的 “ Add as maven build file”,然后編譯器會重新構建,就好了