首选要声明一下SpringBoot版本和SpringCloud的版本要兼容的
参考官网:https://spring.io/projects/spring-cloud#overview
我使用的版本是 springboot 2.3.9.RELEASE springcloud Hoxton.SR10
如果你在搭建Eureka服务注册中心时,出现了如下图的的错误。
解决方案:只需要在启动类上面加入 @SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
即可。
希望能帮助到大家,感谢您的支持!
标签:configure,attribute,configured,Failed,determine,specified,class From: https://www.cnblogs.com/ajiu569/p/16617312.html