Spring Boot 從入門到精通(三)配置文件

在 Web 開發的過程當中,常常須要⾃定義⼀些配置⽂件java 在springboot中存在兩種配置文件,一種是以.properties結尾的配置文件,另外一種是以.yml爲結尾的配置文件。web 在 application.properties 中配置:spring xsj.title = 配置文件 xsj.description = 熱愛生活,熱愛編程 Spring Boot 也⽀持 Yaml
相關文章
相關標籤/搜索