spring-cloud
文章平均质量分 60
水货大帝
这个作者很懒,什么都没留下…
展开
-
feign.FeignException: status 401 reading XXXXXX
今天在调试微服务程序通过Feign调用外部服务时出现一个异常:feign.FeignException: status 401 reading xxxxxx at feign.FeignException.errorStatus(FeignException.java:60) at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.j...原创 2020-03-09 20:31:01 · 6035 阅读 · 2 评论 -
调用远程Webservice出现java.lang.IllegalStateException: Unable to create schema compiler异常
今天在调试远程的Webservice的短信网关发送短信功能过程中出现了点异常,异常信息如下:```javajava.lang.IllegalStateException: Unable to create schema compiler at org.apache.cxf.common.jaxb.JAXBUtils.createSchemaCompilerWithDefaultAlloca...原创 2020-03-04 20:15:57 · 2138 阅读 · 0 评论 -
在Spring Cloud框架整合微服务时出现的org.springframework.web.HttpMediaTypeNotSupportedException异常问题
在调试Spring Cloud项目时出现org.springframework.web.HttpMediaTypeNotSupportedException异常的一个原因说明问题说明原因说明问题说明在将自己编写的基于Spring Cloud框架的微服务程序(服务提供者)与其他微服务程序(服务消费者)通过Eureka服务注册中心进行集成并测试过程中,需要通过服务消费者向服务提供者传递指定参数,用原创 2017-10-17 20:36:38 · 8640 阅读 · 1 评论 -
使用Spring Cloud微服务框架进行多个微服务整合时出现No converter found for return value of type:xxx异常信息
使用Spring Cloud对多个微服务框架进行整合出现java.lang.IllegalArgumentException:No converter found for return value of type异常信息问题说明在将自己编写的基于Spring Cloud框架的微服务程序(服务提供者)与其他微服务程序(服务消费者)通过Eureka服务注册中心进行集成并测试过程中,需要通过服务消费者向服原创 2017-10-23 09:42:24 · 2027 阅读 · 2 评论 -
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)异常处理
一、问题描述 在做spring cloud微服务项目开发时,在进行其中一个微服务启动时,先是出现如下异常信息:java.io.FileNotFoundException: class path resource [mapper/] cannot be resolved to URL because it does not exist at org.springframework.core.原创 2017-12-21 11:29:29 · 70764 阅读 · 10 评论 -
java.lang.IllegalStateException: RequestParam.value() was empty on parameter 0异常问题
今天在一个基于Spring Cloud开发的项目上添加了一个远程调用另外一个微服务的程序接口,在重新启动程序进行测试时出现如下异常:Caused by: java.lang.IllegalStateException: RequestParam.value() was empty on parameter 0 at feign.Util.checkState(Util.java:1...原创 2018-04-27 16:32:40 · 23604 阅读 · 6 评论 -
NoSuchMethodError异常原因说明
今天在进行自己项目开发时遇到一个异常信息,感觉很不理解。。。 异常信息如下:Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Hex.encodeHexString([B)Ljava/lang/String; at org.hyperledger.fabr...原创 2018-06-20 16:59:40 · 39314 阅读 · 0 评论