Springfox Swagger 'Whitelabel Error Page' :com.google.common.base.Predicate cannot be resolved
问题 I am trying to use the swagger-ui for the rest services. I have a swaggerconfig class as follows. @Configuration @EnableSwagger2 public class SwaggerConfig { @Bean public Docket api(){ return new Docket(DocumentationType.SWAGGER_2) .apiInfo(apiInfo()) .select() .paths(PathSelectors.regex("\\.*")) .build(); } @SuppressWarnings("deprecation") private ApiInfo apiInfo() { return new ApiInfoBuilder() .title("Spring REST Sample with Swagger") .description("Spring REST Sample with Swagger")