您的位置: 首页 > 文章 > SpringBoot+properties+转+yaml/yml SpringBoot+properties+转+yaml/yml 分类: 文章 • 2023-11-15 13:03:52 两个文件可以同时共存,但是有优先级,优先加载properties,SpringBoot官方推荐yaml/yml(两种结尾效果一样) 推荐一个在线转换工具:https://toyaml.com/index.html 转换的结果里如果有(自己写的配置,自定义的配置,那种没有提示的配置),还是稍做修改 注入须知:2步走