![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习Spring Cloud采坑札记
凌枫zero
这个作者很懒,什么都没留下…
展开
-
java.lang.IllegalStateException: Failed to load property source from location 'classpath:/applicatio
java.lang.IllegalStateException: Failed to load property source from location 'classpath:/application-dev.yml'如果你的项目没有配置错误,配置文件名称也正常,还出现这个问题,那一定是你的yml文件编码的问题先附上一张项目架构图当我启动服务器寻找配置文件的时候,服务器提示这样的...原创 2019-11-11 15:33:55 · 3623 阅读 · 0 评论 -
初学Spring Cloud踩得坑之Caused by: org.springframework.context.ApplicationContextException
初学Spring Cloud踩得坑之:Caused by: org.springframework.context.ApplicationContextException:Unable to start ServletWebServerApplicationContext due to missingServletWebServerFactory bean.Caused by: org...原创 2019-09-14 11:28:38 · 2835 阅读 · 1 评论 -
Eureka相关错误com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection re
编写Eureka的时候报的错,而且这个错还一直往下运行,一直没有停com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.ha...原创 2019-09-14 18:09:16 · 1128 阅读 · 0 评论 -
初学Spring Cloud踩得坑之org.springframework.web.client.HttpClientErrorException: 404 null异常处理
异常代码org.springframework.web.client.HttpClientErrorException: 404 null at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:94) ~[spring-web-5....原创 2019-09-17 17:55:37 · 16932 阅读 · 3 评论 -
初学Spring Cloud踩坑之fallback method wasn't found: queryByFallback([])
异常代码com.netflix.hystrix.contrib.javanica.exception.FallbackDefinitionException: fallback method wasn't found: queryByFallback([]) at com.netflix.hystrix.contrib.javanica.utils.MethodProvider$Fallb...原创 2019-09-17 23:08:00 · 1594 阅读 · 2 评论 -
用Maven项目创建的Spring Cloud注册中心Eureka项目报错
用Maven项目创建的Spring Cloud注册中心Eureka项目报错解决方法:右键项目 – > 右键Maven – > 点击Update Project就不报错了原创 2019-09-29 17:49:21 · 456 阅读 · 0 评论 -
初学Spring Cloud踩坑之org.springframework.web.client.HttpClientErrorException: 400 null
org.springframework.web.client.HttpClientErrorException: 400 null具体运行错误代码如下:org.springframework.web.client.HttpClientErrorException: 400 null at org.springframework.web.client.DefaultResponseErr...原创 2019-09-30 14:08:11 · 14468 阅读 · 1 评论 -
Spring Cloud踩坑之java.lang.IllegalStateException
java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration.taskExecutorBuilder详细报错代码D:\java\jdk1.8.0_201\bin\java....原创 2019-10-10 22:09:23 · 8487 阅读 · 0 评论