title: Springfox Swagger 'Whitelabel Error Page' :com.google.common.base.Predicate cannot be resolved
body: <p>I am trying to use the swagger-ui for the rest services. I have a swaggerconfig class as follows.</p>
  
  <pre><code>@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")
                  .termsOfServiceUrl(Open")
                  .contact("Niklas Heidloff")
                  .license("Apache License Version 2.0")
                  .licenseUrl("https://github.com/LICENSE")
                  .version("2.0")
                  .build();
      }       
  }
  </code></pre>
  
  <p>Its throws me an error on this line </p>
  
  <pre><code>.paths(PathSelectors.regex("\\.*"))
  </code></pre>
  
  <p>Which says</p>
  
  <pre><code> The type com.google.common.base.Predicate cannot be resolved. It is indirectly referenced from required .class files
  </code></pre>
  
  <p>My question is: Isn't this lib included in the swagger base package. Also, none of the examples point towards adding it explicitly.</p>
  
  <p><a href="https://i.stack.imgur.com/MQLYo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MQLYo.png" alt="enter image description here"></a></p>