Java获取yaml文件数据
通过 yaml 文件的 key 获取其值public class LiquibaseService { public Map yaml() { Yaml yaml = new Yaml(); URL url = LiquibaseController.class.getClassLoader().getResource("liquibase.yaml"); if (url != null) { try {