原文:錯誤:Attempted to load applicationConfig: [classpath:/application.yml] but snakeyaml was not found on the classpath

MyEclipse導入工程,報錯如下: 這是因為YML文件解析需要引入的snakeyaml包未找到造成的,解決方式,在pom.xml文件 lt dependencies gt lt dependencies gt 元素內添加如下語句: ...

2018-12-19 11:04 1 4768 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM