摘要: 官方文档的23.4章节介绍了关于配置文件的内容 springboot 启动会扫描以下位置的application.properties或者application.yml文件作为Spring boot的默认配置文件 –file:./config/ –file:./ –classpath:/config 阅读全文
posted @ 2018-08-13 16:15 脆皮香蕉 阅读(253) 评论(0) 推荐(0)
摘要: 新建的项目结构如下图: 1.POM 文件 项目会默认依赖 spring-boot-starter-parent 项目 这个parent项目又依赖下面 同时还依赖了spring-boot-starter-*,spring boot 官方文档 https://docs.spring.io/spring- 阅读全文
posted @ 2018-08-13 12:00 脆皮香蕉 阅读(315) 评论(0) 推荐(0)