title: zipkin error Error creating bean with name 'webMvcMetricsFilter' defined in class path resource
body: <p>When I tried to integrate zipkin. It threw this error</p>
  
  <pre><code>Error Msg:Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'webMvcMetricsFilter' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/web/servlet/WebMvcMetricsAutoConfiguration.class]: Unsatisfied dependency expressed through method 'webMvcMetricsFilter' parameter 0;
  nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prometheusMeterRegistry' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/export/prometheus/PrometheusMetricsExportAutoConfiguration.class]: Initialization of bean failed;
  nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'zipkin2.server.internal.ZipkinServerConfiguration': Unsatisfied dependency expressed through field 'httpQuery';
  nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zipkin2.server.internal.ZipkinQueryApiV2': Bean instantiation via constructor failed;
  nested exception is java.lang.NoClassDefFoundError: zipkin2/internal/Buffer$Writer
  </code></pre>
  
  <p>version:</p>
  
  <ul>
  <li>Springboot 2.2.4</li>
  <li>SpringCloud Hoxton.SR1 (sleuth: 2.2.1)</li>
  <li>zipkin 2.19.9</li>
  </ul>
  
  <pre><code>@EnableZipkinServer
  @SpringBootApplication
  public class C4ZipkinApplication {
  
      public static void main(String[] args) {
          SpringApplication.run(C4ZipkinApplication.class, args);
      }
  
  }
  </code></pre>
  
  <pre><code>&lt;dependency&gt;
     &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
     &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
     &lt;groupId&gt;io.zipkin.java&lt;/groupId&gt;
     &lt;artifactId&gt;zipkin-server&lt;/artifactId&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
     &lt;groupId&gt;io.zipkin.java&lt;/groupId&gt;
     &lt;artifactId&gt;zipkin-autoconfigure-ui&lt;/artifactId&gt;
  &lt;/dependency&gt;
  </code></pre>