帮看下AHAS这个问题么,ahas重写了guava相关类,导致我其他依赖guava的jar,却依赖了ahas客户端里面的guava实现 导致报错 这个怎么解决呢? An attempt was made to call a method that does not exist. The attempt was made from the following location:
springfox.documentation.schema.DefaultModelDependencyProvider.dependentModels(DefaultModelDependencyProvider.java:79)
The following method did not exist:
com.google.common.collect.FluentIterable.concat(Ljava/lang/Iterable;Ljava/lang/Iterable;)Lcom/google/common/collect/FluentIterable;
The method's class, com.google.common.collect.FluentIterable, is available from the following locations:
jar:file:/Users/zhonghui/mavenRepo/com/alibaba/csp/ahas-sentinel-client/1.10.10/ahas-sentinel-client-1.10.10.jar!/com/google/common/collect/FluentIterable.class
jar:file:/Users/zhonghui/mavenRepo/com/google/guava/guava/23.0/guava-23.0.jar!/com/google/common/collect/FluentIterable.class
It was loaded from the following location:
file:/Users/zhonghui/mavenRepo/com/alibaba/csp/ahas-sentinel-client/1.10.10/ahas-sentinel-client-1.10.10.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of com.google.common.collect.FluentIterable
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。