snakeyaml was not found on the classpath 错误

springboot 程序启动报如下错误

Attempted to load applicationConfig: classpath:/application.yml]
but snakeyaml was not found on the classpath

pom 依赖包引用错误
自动配置的包引入出错

        
            org.springframework.boot
            spring-boot-autoconfigure
        

改为

        
            org.springframework.boot
            spring-boot-starter-actuator
        

你可能感兴趣的:(snakeyaml was not found on the classpath 错误)