spring boot 定时程序发布WAR
需要配置:
要重写:
WAR部署TOMCAT
拷贝itgjob.war到目录:webapps
修改CONF文件夹下的server.xml
补充一行
<Context path="/" docBase="itgjob.war" debug="0" privileged="true" reloadable="true"/>
备注项目更换SDK:
File-->Project Structure: project SDK--New a sdk.
spring boot 定时程序发布WAR
需要配置:
要重写:
WAR部署TOMCAT
拷贝itgjob.war到目录:webapps
修改CONF文件夹下的server.xml
补充一行
<Context path="/" docBase="itgjob.war" debug="0" privileged="true" reloadable="true"/>
备注项目更换SDK:
File-->Project Structure: project SDK--New a sdk.
SpringBoot项目打包成war包
由于SpringBoot通常打包方式为Jar,另一种是打包成 war
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M