Category: Java

SpringBoot 遇到 com.google.guava » guava 组件运行异常问题修复方案

SpringBoot 遇到 com.google.guava » guava 组件运行异常问题修复方案

环境 Apache Maven : 3.5.4 org.springframework.boot » spring-boot-starter-parent : 2.0.3.RELEASE io.springfox » springfox-swagger2 & io.springfox » springfox-swagger-ui : 2.9.2 org.codehaus.mojo » findbugs-maven-plugin : 3.0.5 运行项目错误 错误信息如下: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘apiDocumentationScanner’ defined in URL [jar:file:/C:/Users/danielfu/.m2/repository/io/springfox/springfox-spring-web/2.9.2/springfox-spring-web-2.9.2.jar!/springfox/documentation/spring/web/scanners/ApiDocumentationScanner.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating […]