Failed to start bean ' documentationpluginsbootstrapper '; Nested exception is java.lang.NoSuchMethodError:com.google.common.collect.FluentIterable.append (ljava/lang/ iterable;) lcom/google/common/collect/fluentiterable;
Unable to start bean ' documentationpluginsbootstrapper '; Nested exceptions are java.lang.NoSuchMethodError:com.google.common.collect.FluentIterable.append (ljava/lang/iterable;) lcom/ google/common/collect/fluentiterable;
Environment: Spring Boot 2.0.3release+swagger2 2.9.2+swagger UI 2.9.2 + Easypoi 3.2.0
The answer to the online search is:
As a result of guava compatibility problems, the introduction
<dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>20.0</version></dependency>
I opened my MAVEN project to expand Maven dependencies to see the next Jar Package version by keyboard G, and found that the version 16,guava-16.0.1.jar,16 version is incompatible
Then search in the startup subproject Pom.xml file to add
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>20.0</version>
</dependency>
According to the priority principle, the version will become version 20.
Spring Boot 2.0.3release+swagger2 2.9.2+swagger UI 2.9.2 + Easypoi 3.2.0 Incompatible version