今天打包一直出错。。。如下:

SpringBoot之打包错误_springboot

 

据说是test里面有错误。。。

在pom.xml增加如下插件,让test不打包进去,就可以了

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<configuration>
					<skipTests>true</skipTests>
				</configuration>
			</plugin>

再次编译,,,一切OK

SpringBoot之打包错误_springboot_02