spring boot .yml配置文件 配置路徑映射

spring: resources: static-locations: classpath:/META-INF/resources/,classpath:/resources/, classpath:/static/, classpath:/public/, file:E:/data 前面那幾個都是項目默認的 file後面的就是你本地的映射路徑, 想要讀取裏面的東西的時候從 data文
相關文章
相關標籤/搜索