idea
@override is not allowed when implement
打包
spring boot项目
当开发spring boot 使用原生的plugin即可:
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
即可运行
普通maven项目:

然后通过执行java -jar cps-1.0-SNAPSHOT-jar-with-dependencies.jar运行。
Last updated
Was this helpful?