SpringBoot的三种启动方式
来源:互联网 发布:java小程序 编辑:程序博客网 时间:2024/05/29 16:38
一:IDE 运行Application这个类的main方法
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
二:在SpringBoot的应用的根目录下运行mvn spring-boot:run
前提:计算机已安装Maven
三:使用mvn install 生成jar后运行
1.在SpringBoot的应用的根目录下运行:mvn install
2.进入SpringBoot的应用的target目录:cd target
3.在SpringBoot的应用的target目录运行:java -jar xxxx.jar
阅读全文
0 0
- springboot的三种启动方式
- SpringBoot启动服务的三种方式
- 01-SpringBoot的三种启动方式
- springboot启动的三种方式
- SpringBoot的三种启动方式
- springboot三种启动方式
- 运行springBoot的三种方式
- springboot整合mybatis的三种方式
- springboot在服务器上的几种启动方式
- Springboot-启动 Spring Boot服务的方式
- SpringBoot学习(三),两种启动方式-以main方法启动和在tomcat里启动
- springboot linux启动方式
- springboot启动方式
- springboot启动方式
- Redis的三种启动方式
- Redis的三种启动方式
- Redis的三种启动方式
- maven启动web的三种方式
- 开发API必备神器---ApiDoc的使用
- 干货解读工信部《促进新一代人工智能产业发展三年行动计划(2018-2020 年)》 | 附全文下载 | 解读行业
- Android 架构组件(一)——Lifecycle
- 每天一个linux命令(32):gzip命令
- http状态码 整理
- SpringBoot的三种启动方式
- java,js 编码解码
- 2017智能周报 | 12.03-12.09 | 无人驾驶载客测试、人脸及语音识别进入小区地铁、英伟达和高通芯片发布……
- linux下haproxy安装配置笔记
- 《jquery权威指南》学习笔记--第二章
- Android使用Bugly实现APP版本更新
- HttpClient调用接口传递文件参数
- Oracle EBS的组织架构
- WAN startdeamontowaitconn.bind1 10013 红蜘蛛软件,学生机不能受控制