常见报错
一些常见的报错
上天安排的最大嘛!!
这个作者很懒,什么都没留下…
展开
-
Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerExcepti
项目启动报错、JDK环境不匹配导致原创 2022-05-29 13:40:34 · 2430 阅读 · 0 评论 -
关于spring-cloud-starter-consul-discovery:jar is missing. @ line 38, column 21解决方案
错误[ERROR] Some problems were encountered while processing the POMs:‘dependencies.dependency.version’ for org.springframework.cloud:spring-cloud-starter-consul-discovery:jar is missing. @ line 38, column 21‘dependencies.dependency.version’ for org.spring原创 2021-02-03 17:16:31 · 2426 阅读 · 0 评论 -
关于Failed to load property source from location ‘classpath:/application.yml‘解决方案
错误2021-02-03 16:44:39.317 ERROR 5552 — [ main] o.s.boot.SpringApplication : Application run failedjava.lang.IllegalStateException: Failed to load property source from location 'classpath:/application.yml’at org.springframework.bo原创 2021-02-03 16:51:10 · 490 阅读 · 0 评论 -
网关服务启动异常-Consider defining a bean of type ‘org.springframework.***‘ in your configuration.
错误Description:Parameter 0 of method modifyRequestBodyGatewayFilterFactory in org.springframework.cloud.gateway.config.GatewayAutoConfiguration required a bean of type ‘org.springframework.http.codec.ServerCodecConfigurer’ that could not be found.Action:原创 2021-02-03 16:38:13 · 1454 阅读 · 0 评论 -
关于Error creating bean with name ‘userController‘: Injection of resource dependencies failed;解决方案
2021-02-03 14:31:14.195 ERROR 14540 --- [ restartedMain] o.s.boot.SpringApplication : Application run failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of resource depe原创 2021-02-03 14:43:02 · 5683 阅读 · 2 评论 -
springcloud访问出错:status“:404,“error“:“Not Found“,“message“:“No message available“
错误描述This application has no explicit mapping for /error, so you are seeing this as a fallback.Wed Feb 03 00:52:30 CST 2021There was an unexpected error (type=Internal Server Error, status=500).[404] during [GET] to [http://product9997/product/findById?原创 2021-02-03 01:21:09 · 12484 阅读 · 3 评论 -
微服务注册ip地址竟然不是本机地址?
1、现象在微服务中心,注册的IPaddr是我的网关地址,这让我很是疑惑通过访问发现,我也是通过这个地址去访问服务的2、提出的疑问在我WIFI网卡的发现的网关,惊人的一致,我裂开了3、使用了个注解,强制使用了本机的IP进行注册#这个是使用源地址 192.168.0.1 是代理地址spring.cloud.consul.discovery.prefer-agent-address=true看了一下注册中心,我笑了,这是什么鬼,之前做了那么多小项目都没出现这种情况,这让我很慌,难以相信原创 2021-02-03 00:08:56 · 795 阅读 · 0 评论 -
关于a bean of type ‘org.springframework.http.codec.ServerCodecConfigurer‘ in your configuration解决方案
错误描述Description:Parameter 0 of method modifyRequestBodyGatewayFilterFactory in org.springframework.cloud.gateway.config.GatewayAutoConfiguration required a bean of type 'org.springframework.http.codec.ServerCodecConfigurer' that could not be found.Acti原创 2021-01-30 18:16:57 · 3708 阅读 · 0 评论 -
linux-exception
linux make报错make: *** No targets specified and no makefile found. Stop.解决方法#wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz#tar -zxvf ncurses-5.6.tar.gz#cd ncurses-5.6#./config...原创 2021-01-01 15:03:00 · 215 阅读 · 0 评论 -
关于Job for rabbitmq-server.service failed because the control process exited with error code.解决方案
错误报错信息Job for rabbitmq-server.service failed because the control process exited with error code. See "systemctl status rabbitmq-server.service" and "journalctl -xe" for details.去状态中去看有更多的错误错误描述我这是在安装rabbitmq,启动的时候发现出错了。这个错误,查看了主机名,发现是一串地址,感觉有问题。错误原创 2021-02-01 23:30:31 · 6236 阅读 · 10 评论 -
关于“Connection refused: connect”错误
错误描述2021-01-31 17:26:41.991 WARN 12644 --- [nio-8080-exec-3] c.c.c.ConfigServicePropertySourceLocator : Could not locatePropertySource: I/O error on GET request for "http://localhost:8888/client/dev/dev": Connection refused: connect; nested exception i原创 2021-01-31 17:37:39 · 6505 阅读 · 1 评论 -
window下的进程查找和杀死
1、File的常用方法有哪些Files.exists():检测文件路径是否存在Files.createFile():创建文件Files.createDirectory():创建文件夹2、Collection和Collections有什么区别3、在Queue和poll()和remove()有什么区别原创 2021-01-29 15:31:14 · 72 阅读 · 0 评论 -
关于A component required a bean of type ‘com.xx.ProductClient‘ that could not be found解决方案
报错信息Description:A component required a bean of type 'com.demo.user9998.client.ProductClient' that could not be found.Action:Consider defining a bean of type 'com.demo.user9998.client.ProductClient' in your configuration.报错解释:该类没有被注入,说明没有被扫描到,@Spring原创 2021-01-29 23:04:12 · 2592 阅读 · 0 评论