![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
jianglu126
这个作者很懒,什么都没留下…
展开
-
IDEA新建yml文件
使用IDEA想要创建一个yml配置文件时发现 new 的时候没有找到yml文件选项,怎么办呢下边我来为大家介绍一下,如何将yml文件选项加入new File 的选项中File -> Settings -> File and Code Templates 按照下图箭头顺序即可添加进去添加后,在工程目录中右击 new 选项中有 Yml File选项...原创 2020-01-06 15:48:58 · 1188 阅读 · 1 评论 -
Springboot项目加载配置文件失败
今天自己在尝试使用IDEA搭建SpringBoot项目时,遇到了Attempted to load applicationConfig: [classpath:/application.yml] but snakeyaml was not found on the classpath这个问题。经过一番尝试,有以下几种可能导致启动失败的原因1.配置文件application.yml 编码格式...原创 2020-01-06 15:34:24 · 5875 阅读 · 0 评论