问题:
Attempted to load applicationConfig: [classpath:/application.yml] but snakeyaml was not found on the classpath
解决办法:
期初以往是缺少snakeyaml的依赖,就增加了依赖,仍然报错,后跟踪代码发现,springboot的依赖已经引用了snakeyaml,所以不需要声明。
后期发现时由于从中央仓库下载jar时包不完整,所以删除org.snakeyaml下的所有jar重现下载即可。