
spring-boot
文章平均质量分 92
sxteng
这个作者很懒,什么都没留下…
展开
-
springboot加载properties文件过程详解
文章目录springboot加签properties文件过程 springboot加签properties文件过程原创 2019-11-16 21:47:57 · 2097 阅读 · 0 评论 -
spring boot 启动过程
new SpringApplication 对象 /* 确定web应用类型 * set Initializers * set Listeners */ public SpringApplication(ResourceLoader resourceLoader, Class<?>... primarySources) { this.resourceLoader = resou...原创 2019-11-14 15:40:30 · 262 阅读 · 0 评论 -
spring-boot 启动热部署
一 添加依赖包 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <opt...原创 2019-08-03 14:04:09 · 403 阅读 · 0 评论 -
spring-boot项目war包启动
spring-boot 项目 war包启动 1 修改打包方式为 war <packaging>war</packaging> 2 启动类继承SpringBootServletInitializer 并Override configure方法 如下 public class SpringBootBootStrapExample extends SpringBootServl...原创 2019-08-20 13:42:17 · 563 阅读 · 0 评论 -
spring boot 项目总结
文章目录spring boot 项目总结1 spring boot 部署注意事项1.1 spring-boot 项目 war包启动1.2 spring-boot 热部署2 spring boot 注入bean2.1 注入Servlet,Filter,*Listener2.11 通过 *RegistrationBean2.12 embedded containe 嵌入容器 (tomcat jett...原创 2019-08-20 17:09:24 · 641 阅读 · 0 评论