首页 > 编程语言> > com.alibaba.cloud.sentinel.feign.SentinelContractHolder.parseAndValidateMetadata(Ljava/lang/Class;)
com.alibaba.cloud.sentinel.feign.SentinelContractHolder.parseAndValidateMetadata(Ljava/lang/Class;)
作者:互联网
com.alibaba.cloud.sentinel.feign.SentinelContractHolder.parseAndValidateMetadata(Ljava/lang/Class;)Ljava/util/List;
是因为Sentinel框架SentinelContractHolder类中找不到parseAndValidatateMetadata这个方法
旧版本方法名为parseAndValidatateMetadata
新版本方法名为parseAndValidateMetadata
是因为这个方法拼写有错误,在Sentinel和OpenFeign新版本中已经修正为parseAndValidateMetadata
我将SpringCloudAlibaba从2.2.0.RELEASE替换为2.2.1.RELEASE解决
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>2.2.1.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
标签:lang,parseAndValidateMetadata,feign,Ljava,alibaba,RELEASE,2.2,cloud 来源: https://blog.csdn.net/weixin_44524763/article/details/121731180