title: cucumber.runtime.CucumberException: Couldn't load plugin class: io.qameta.allure.cucumberjvm.AllureCucumberJvm
body: <p>I've integrated Alluer to my cucumber automation project. After the integration, I can run the tests from feature files, and generate the report successfully as well. However, when I try to run the test from test entry class, there was an Exception came out. Can someone help me with this? Thank you very much.</p>
  
  <p>Error message:</p>
  
  <pre><code>cucumber.runtime.CucumberException: Couldn't load plugin class: io.qameta.allure.cucumberjvm.AllureCucumberJvm
  
      at cucumber.runtime.formatter.PluginFactory.loadClass(PluginFactory.java:175)
      at cucumber.runtime.formatter.PluginFactory.pluginClass(PluginFactory.java:165)
      at cucumber.runtime.formatter.PluginFactory.getPluginClass(PluginFactory.java:226)
      at cucumber.runtime.formatter.PluginFactory.isFormatterName(PluginFactory.java:195)
      at cucumber.runtime.RuntimeOptions$ParsedPluginData.addPluginName(RuntimeOptions.java:365)
      at cucumber.runtime.RuntimeOptions.parse(RuntimeOptions.java:125)
      at cucumber.runtime.RuntimeOptions.&lt;init&gt;(RuntimeOptions.java:89)
      at cucumber.runtime.RuntimeOptions.&lt;init&gt;(RuntimeOptions.java:78)
      at cucumber.runtime.RuntimeOptions.&lt;init&gt;(RuntimeOptions.java:70)
      at cucumber.runtime.RuntimeOptionsFactory.create(RuntimeOptionsFactory.java:25)
      at cucumber.api.junit.Cucumber.&lt;init&gt;(Cucumber.java:56)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
      at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
      at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
      at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
      at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
      at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
      at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:49)
      at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
      at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
      at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
  Caused by: java.lang.ClassNotFoundException: io.qameta.allure.cucumberjvm.AllureCucumberJvm
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at cucumber.runtime.formatter.PluginFactory.loadClass(PluginFactory.java:173)
  </code></pre>
  
  <p>Entry class:</p>
  
  <pre><code>@RunWith(Cucumber.class)
  @CucumberOptions(
          features = {"src/test/resources/features"},
          glue = {"classpath:com.wi***rd.step"},
          format = {"pretty", "html:target/cucumber-report", "json:target/cucumber.json"},
          tags = {"@Mer***tion, @Add***nal, @MER***CH, @MER***ERR"}
  )
  public class A***dApplicationTests {
  }
  </code></pre>
  
  <p>POM.xml</p>
  
  <pre><code>        &lt;dependency&gt;
              &lt;groupId&gt;ru.yandex.qatools.allure&lt;/groupId&gt;
              &lt;artifactId&gt;allure-cucumber-jvm-adaptor&lt;/artifactId&gt;
              &lt;version&gt;1.6.3&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;io.qameta.allure&lt;/groupId&gt;
              &lt;artifactId&gt;allure-java-commons&lt;/artifactId&gt;
              &lt;version&gt;2.0-BETA15&lt;/version&gt;
          &lt;/dependency&gt;        
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.6.0&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.8&lt;/source&gt;
                      &lt;target&gt;1.8&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.20&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;argLine&gt;
                          -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
                          -Dcucumber.options="--plugin io.qameta.allure.cucumberjvm.AllureCucumberJvm"
                      &lt;/argLine&gt;
                  &lt;/configuration&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
                          &lt;artifactId&gt;aspectjweaver&lt;/artifactId&gt;
                          &lt;version&gt;1.8.10&lt;/version&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
  
      &lt;/build&gt;
  </code></pre>