spring
文章平均质量分 86
杨小冥
这个作者很懒,什么都没留下…
展开
-
Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
Springcloud项目报错:Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured. 今天把Springcloud项目中一个application.yml放进Gitee中,然后改用bootstrap.yml获取库中的配置时报错,翻译是:配置数据源失败:未指定“url”属性,无法配置嵌入的数据源,明明配置信息在gitee库中,我要原创 2021-02-05 15:53:12 · 608 阅读 · 0 评论 -
Springcloud入门搭建Eureka注册中心
1.Spring Cloud简介 Spring Cloud是Spring旗下的项目之一,–>springcloud官网地址<-- Spring最擅长的就是集成,把世界上最好的框架拿过来,集成到自己的项目中。Spring Cloud也是一样,它将现在非常流行的一些技术整合到一起,实现了诸如:配置管理,服务发现,智能路由,负载均衡,熔断器,控制总线,集群状态等等功能。其主要涉及的组件包括:NetflixEureka:注册中心Zuul:服务网关Ribbon:负载均衡Feign:服务原创 2021-02-03 21:13:19 · 194 阅读 · 0 评论