title: CannotResolveClassException: com.blazemeter.jmeter.controller.ParallelSampler
body: <p>I ran into an issue which is basically that Gradle can not find the ParallelSampler class in which I included in my gradle file.</p>
  <p>Basically, I am trying to use the plugin(<strong>ParallelSampler</strong>) developed by blazemeter in my project.</p>
  <p>I am not sure why it is happening.</p>
  <pre><code>import org.ajoberstar.grgit.Grgit;
  
  plugins {
      // Apply the java-library plugin to add support for Java Library
      id 'java-library'
      id 'groovy'
      id 'org.ajoberstar.grgit' version '4.0.0'
  }
  
  repositories {
      // Use jcenter for resolving dependencies.
      // You can declare any Maven/Ivy/file repository here.
      jcenter()
  }
  
  dependencies {
      compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.4.16'
      compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.10'
      compile group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.12'
      compile group: 'org.apache.jmeter', name: 'ApacheJMeter_core', version: '5.2.1'
      compile group: 'org.apache.jmeter', name: 'ApacheJMeter_http', version: '5.2.1'
      compile group: 'com.blazemeter', name: 'jmeter-parallel', version: '0.9'
  }
  
  task cloneJmeter() {
      doFirst {
          Grgit.clone {
              dir = &quot;apache-jmeter/&quot;
              uri = &quot;https://github.com/apache/jmeter.git&quot;
              remote = &quot;origin&quot;
              refToCheckout = &quot;rel/v5.2.1&quot;
          }
      }
  }
  
  sourceSets.main.resources.srcDirs = [&quot;src/&quot;]
  
  task copyJar(type: Copy) {
      from jar
      into &quot;apache-jmeter/lib/&quot;
  }
  
  clean.doFirst {
      delete &quot;apache-jmeter&quot;
  }
  </code></pre>
  <p>I am seeing following console logs</p>
  <pre><code>Cause:
  00:38:46  CannotResolveClassException: com.blazemeter.jmeter.controller.ParallelSampler
  00:38:46  
  00:38:46   Detail:com.thoughtworks.xstream.converters.ConversionException: 
  00:38:46  ---- Debugging information ----
  00:38:46  cause-exception     : com.thoughtworks.xstream.converters.ConversionException
  00:38:46  cause-message       : 
  00:38:46  first-jmeter-class  : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
  00:38:46  class               : org.apache.jmeter.save.ScriptWrapper
  00:38:46  required-type       : org.apache.jmeter.save.ScriptWrapper
  00:38:46  converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
  00:38:46  path                : /jmeterTestPlan/hashTree/hashTree/hashTree[5]/hashTree[4]/com.blazemeter.jmeter.controller.ParallelSampler
  00:38:46  line number         : 242
  00:38:46  version             : 5.2.1-SNAPSHOT
  </code></pre>
  <p>I want to download <strong>jmeter-parallel</strong> jar and store into <strong>apache-jmer/lib/ext</strong> of jmeter.</p>