解决SpringCloudGateway中使⽤OpenFeign出现的错误
问题描述
Spring Cloud版本:Hoxton.SR5
Spring Boot 版本:2.3.1.RELEASE
Spring Cloud Gateway 项⽬中使⽤了OpenFeign组件,配置引⽤均正确。报错如下:
springcloud难学吗dec.EncodeException: No qualifying bean of type 'org.springframework.boot.autoconfigure.http.HttpMessageConverters' available: expected at lea st 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
at feign.solve(ReflectiveFeign.java:384)
Suppressed: publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
|_ checkpoint ⇢ org.springframework.security.web.server.authorization.AuthorizationWebFilter [DefaultWebFilterChain]
|_ checkpoint ⇢ org.springframework.security.web.server.authorization.ExceptionTranslationWebFilter [DefaultWebFilterChain]
|_ checkpoint ⇢ org.sprin
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论