Tag Archives: : Failed to start bean ‘documentationPluginsBoot

[Solved] Springboot integrate swagger Error: failed to start bean ‘documentationpluginsboot

First, paste my jar package version

<parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.2.5.RELEASE</version>
        <relativePath/>
    </parent>


 <dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger2</artifactId>
            <version>2.9.2</version>
        </dependency>
        <dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger-ui</artifactId>
            <version>2.9.2</version>
        </dependency>

        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>25.1-jre</version>
        </dependency>

Some people failed to start the bean ‘documentationpluginsboot’ because the guava version is too low. The online strategy is also to modify the guava version

Finally, it is found that the springboot version is too high and incompatible. Just change the springboot version to 2.2.5