本人是一个gradle小白,在对一个gradle项目进行升级时,由于不熟悉吃了好多亏,改bug都要改吐了。好不容易把项目升级成功,但是却由于想要引入Swagger而又和项目中的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 com.google.common.collect.FluentIterable.concat(java.lang.Iterable, java.lang.Iterable)'