1、先在poml.xml添加
> <
!-- 要使生成的jar可运行,需要加入此插件
-
-
>
org.apache.maven.plugins
maven-surefire-plugin
true
>
>org.springframework.boot
>
>spring
-boot
-maven
-plugin
>
>
>
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/213792.html原文链接:https://javaforall.net
