Spring Boot 2.0.3release+swagger2 2.9.2+swagger UI 2.9.2 + Easypoi 3.2.0 Incompatible version

Source: Internet
Author: User
Tags iterable

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.