大部分是settings的profiles报错,将其多余的空格删除后正确运行。 随后又遇见了打包时报错:There are test failures. 将maven project上那个闪电符号开启(禁用测试),即可。