遇到这个问题看了很多博客之后发现:执行这个语句就行了:mvn clean package -Dmaven.test.skip=true
本文链接:https://blog.csdn.net/weixin_43046726/article/details/88821174