spring boot编译配置
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
</configuration>
</plugin>
maven
bootJar {
launchScript()
}
gradle
jar文件在CentOS里面的执行权限
chmod 755 /var/superform/superform.jar