使用feign改造时候,碰到这个问题:
Caused by: java.lang.IllegalStateException: Parameterized types unsupported: OraFeignSsoLoginClient
at feign.Util.checkState(Util.java:129)
at feign.Contract$BaseContract.parseAndValidateMetadata(Contract.java:46)
at feign.ReflectiveFeign$ParseHandlersByName.apply(ReflectiveFeign.java:151)
at feign.ReflectiveFeign.newInstance(ReflectiveFeign.java:49)
at feign.Feign$Builder.target(Feign.java:269)
at org.springframework.cloud.openfeign.HystrixTargeter.target(HystrixTargeter.java:38)
at org.springframework.cloud.openfeign.FeignClientFactoryBean.getTarget(FeignClientFactoryBean.java:343)
at org.springframework.cloud.openfeign.FeignClientFactoryBean.getObject(FeignClientFactoryBean.java:301)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:171)
... 62 common frames omitted
想想前后自己做了什么,就是把之前具体的类型改成了泛型
标签:lang,exception,java,object,feign,springframework,ReflectiveFeign,FeignClientFact From: https://www.cnblogs.com/thinkingandworkinghard/p/16779448.html