随笔分类 -  spring boot

摘要:我一直很好奇 spring boot 以哪种方式 启动的 tomcat 今天 特地跟踪了一下 大家都知道 spring 容器很核心的 方式 是org.springframework.context.support.AbstractApplicationContext#refresh 这个方法 其中 阅读全文
posted @ 2018-03-04 12:02 沐松 阅读(2692) 评论(0) 推荐(0)
摘要:1、maven配置包 2、配置类 3、访问地址: http://localhost:8080/swagger-ui.html 官方使用说明:http://springfox.github.io/springfox/docs/current/ 阅读全文
posted @ 2017-07-17 20:26 沐松 阅读(473) 评论(0) 推荐(0)
摘要:pom 文件引用 bean注入(配置在 SpringBootApplication 的启动类中) ps:已解决中文乱码问题 阅读全文
posted @ 2017-07-16 12:41 沐松 阅读(2250) 评论(0) 推荐(0)