今天在使用fegin远程调用服务的时候服务怎么也启动不了
报这样一个错误
Description:An attempt was made to call the method mon.collect.FluentIterable.append(Ljava/lang/Iterable;)Lcom/google/common/collect/FluentIterable; but it does not exist. Its class, mon.collect.FluentIterable, is available from the following locations:jar:file:/C:/Users/XXX/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar!/com/google/common/collect/FluentIterable.classIt was loaded from the following location:file:/C:/Users/XXX/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jarAction:Correct the classpath of your application so that it contains a single, compatible version of mon.collect.FluentIterable
找了半天也不知道哪里错了。
然后看了一篇博客解决了,转载分享给大家。原因是因为ribbon和swagger有jar包冲突。感谢大佬。
/my13413527259/article/details/85779625
如果觉得《fegin启动报错:It was loaded from the following location: file:/C:/Users/XXX/.m2/repository/com/goo》对你有帮助,请点赞、收藏,并留下你的观点哦!