
springcloud
文章平均质量分 56
xhalg
不断学习
展开
-
Request processing failed; nested exception is java.lang.IllegalStateException: No instances availab
利用spring-cloud的ribbon组件做应用的负载均衡,相关依赖包也都按照说明进行配置结果服务启动以后,注册的多个服务在监控控制台上都可以看到,但是在通过负载进行调用的时候后台出异常,提示没有可用的服务,信息如下:Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is j原创 2021-10-11 00:05:49 · 2239 阅读 · 0 评论 -
Bad RequestThis combination of host and port requires TLS.
在springboot工程下面,创建了一个服务,想着是开发环境,在访问请求的时候直接用http协议访问服务,不想配置https协议请求的相关服务,觉得只要不配置443端口就行了 ,其它的配置项自动失效。http协议转发的JAVA代码也注释掉结果发现还是不行,利用http协议访问应用,提示以下错误信息:Bad RequestThis combination of host and port requires TLS.最终经过调查才发现,要想关于ssl的相关配置信息不生效,就必..原创 2021-10-10 23:46:43 · 7471 阅读 · 1 评论 -
springboot和springcloud的版本对应关系
在springboot框架下应用springcloud搭建微服务时,避免不了要考虑版本对应的关系,否则就会导致在工程启动的时候出现异常。如下图,是我在最新的springboot2.5.5版本下,从以前的工程中拷贝的springcloud版本号springboot:2.5.5spingcloud:Greenwich.RC2结果在项目启动的时候报以下异常:org.springframework.beans.factory.BeanCreationException: Error creat.原创 2021-10-06 11:10:03 · 4435 阅读 · 0 评论 -
SpringCloud 微服务注册中心启动之后报错,如何处理!
Tip: It's the step after the last dot that caused this error, not those before it.----Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either s...原创 2019-10-30 12:01:28 · 1610 阅读 · 1 评论