IntelliJ IDEA 2017版 spring-boot2.0.4的yml配置使用时间:2023-03-09 00:05:47 一、必须配置字端两个 server: port: 8080 servlet: context-path: /demo 二、两种mvc转换springboot,一种是注解,一种就是.yml或properties配置 三、实际项目源码 https://github.com/liushaoye/sprinboot-yml/tree/master