- 博客(7)
- 收藏
- 关注
原创 2021-07-24
控制台报错Caused by: java.lang.reflect.InvocationTargetException: nullCaused by: java.lang.reflect.InvocationTargetException: null,endpoint is blank场景:需要把微服务的模块的配置加入到Nacos配置中心,方便管理和修改配置。但是在微服务模块pom文件中添加了注册发现nacos-discovery和配置中心nacos-config依赖,新建了bootstrap
2021-07-24 21:31:38
286
1
原创 2021-07-24
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer?项目场景:使用feign调用远程服务的时候,项目编译通过,没有任何的报错,但是在启动项目的时候,控制台出现错误:Caused by: java.lang.IllegalStateException: No Feign Client for loadBalancing defined. Did you
2021-07-24 16:07:08
373
1
原创 2021-07-24
Web server failed to start. Port 10000 was already in use.场景:启动项目的时候控制台报错:Web server failed to start. Port 10000 was already in use原因:端口被占用了解决方法:首先打开CMD运行界面运行下面两个命令。查看端口命令命令:netstat -ano|findstr 端口关闭进程:taskkill /F /pid PID重新启动项目即可...
2021-07-24 13:19:06
403
原创 2021-07-23
IDEA 控制台出现报错:org.springframework.beans.factory.BeanCreationException场景:项目的编译通过,没有报红,但是启动项目的时候出现报错,收集了许多资料,尝试过许多方法,但是依旧报错,最终找到了解决方式。org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframewo
2021-07-23 21:50:01
325
1
原创 2021-07-23
IDEA中如何将spring boot中的版本降低**场景:**搭建微服务的时候需要用到Spring Cloud,springboot 与 springcloud版本需要对应,Spring Boot 版本:2.5.2在项目里引入的依赖进行统一管理:Spring Cloud版本:2.1.0.RELEASEdependencyManagement> <dependencies> <dependency> <groupId>com.alibaba.c
2021-07-23 10:21:51
261
原创 2021-07-21
MySQL数据库报错java.sql.SQLException: null, message from server: “Host ‘192.168.XXX’ is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’”问题:IDEA启动项目时控制台报错:java.sql.SQLException: null, message from server: “Host ‘192.168.XX.XX’
2021-07-21 20:14:59
632
3
原创 2021-07-21
IDEA启动报错Error launching IDEAif you already have a 64-bit JDK installed,define a JAVA_HOME variable In Computer>`**场景:**当时刚安装IDEA的时候,在网上找到了一种激活方式,按照他的方式操作,修改了Configure——>Edit Custom Vm Options*在里面增加了一行代码然后退出 再次启动的时候就报错!*解决方式:把用户目录C:\Users\用户名.I
2021-07-21 00:23:37
263
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人