YAML文件不能通过@PropertySource注解加载,如果需要使用该方式,那就必须使用properties文件。
@PropertySource
Last updated 6 years ago
Was this helpful?