Spring cloud 启动出现 :org.springframework.beans.factory.UnsatisfiedDependencyException 解决方案
在使用spring cloud 运行项目的时候,出现org.springframework.beans.factory.UnsatisfiedDependencyException,然后后面一堆错误。
查看bootstrap.yml没发现有问题,后来在pom文件中发现,spring-boot-starter-parent的版本为2.1.1.RELEASE,而spring-boot-dependencies的版本为2.1.2.RELEASE,不一致,导致启动失败。因此将spring-boot-dependencies改为相同版本解决问题。