遇到这个问题看了不少博客以后发现:执行这个语句就好了:mvn clean package -Dmaven.test.skip=truemaven
本文连接:https://blog.csdn.net/weixin_43046726/article/details/88821174.net