title: While trying to run "gradle test jacoco" in gitbash I am getting TestExecutionException, NoClassDefFoundError, ClassNotFoundException
body: <p>While trying to run jacoco in my gradle project, I am getting exceptions.
  I have added following dependencies:</p>
  
  <pre><code>  compile "org.jacoco:org.jacoco.report:0.7.8"
    compile "org.jacoco:org.jacoco.core:0.7.8"
    compile "org.ow2.asm:asm-all:5.1"
  </code></pre>
  
  <p>I also tried with different options like <code>providedCompile</code>, <code>testCompile</code> also.
  I am getting this exception, while trying to run "gradle test jacoco" in gitbash.</p>
  
  <p>Exceptions:</p>
  
  <blockquote>
    <p>org.gralde.api.tasks: TaskExecutionException: Exception failed for
    task:'practice-app:jacocoTestReport'</p>
    
    <p>Caused by: java.lang.NoClassDefFoundError:
    org/jacoco/report/IReportVistor</p>
    
    <p>Caused by: java.lang.ClassNotFoundException:
    org.jacoco.report.IReportVisitor</p>
  </blockquote>
  
  <p>I also verified other checks like jacoco jars available in my local gradle repo etc.</p>