Maven 報錯:Compilation of Maven projects is supported only if external build is started from an IDE.

  1. Maven 報錯: Error:Maven Resources Compiler: Maven project configuration required for module 'yourProjectName' isn't available. Compilation of Maven projects is supported only if external build is started from an IDE. 緣由:修改了項目對應的 文件夾名和 module 名。 解決: 若是是 idea 的話,右擊 pom.xml 文件,選擇最下面的 「 Add as maven build file」,而後編譯器會從新構建,就行了
相關文章
相關標籤/搜索