
java
夜月闪耀
分享工作中遇到的各种小问题和解决方式。
展开
-
Communications link failure The last packet sent successfully to the server was 0 milliseconds ago
最近用idea写了一个程序,中间把mysql从5.7升级到了8.0.原来程序正常,升级之后报错!idea程序连接MySQL数据库失败Communications link failure报错The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.首先检查一下url连接串是不是有错误,我这里之前程序可以原创 2022-05-24 21:10:48 · 42652 阅读 · 15 评论 -
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc
1、报错原因启动SpringCloud项目时报No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer?错误是因为SpringBoot和SpringCloud版本不兼容导致的2、解决方法可以降低SpringBoot和SpringCloud的版本或者加上如下依赖:<!--使用Spring Cloud LoadBalancer 进行...原创 2022-03-10 18:12:17 · 2406 阅读 · 0 评论