Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    A few things cause this exception:
    1) Check if you have all jars and if they're in the correct path.
    2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

  2. ,

    you can change your scala version to 2.11.11

Solutions on the web

via Stack Overflow by Fla
, 1 year ago
org/springframework/test/context/ContextHierarchy
via codegur.website by Unknown author, 1 year ago
java.lang.ClassNotFoundException: org.springframework.test.context.ContextHierarchy	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.java.spring.SpringFactory.annotatedWithSupportedSpringRootTestAnnotations(SpringFactory.java:198)	at cucumber.runtime.java.spring.SpringFactory.dependsOnSpringContext(SpringFactory.java:187)	at cucumber.runtime.java.spring.SpringFactory.addClass(SpringFactory.java:61)	at cucumber.runtime.java.JavaBackend.loadGlue(JavaBackend.java:96)	at cucumber.runtime.Runtime.(Runtime.java:91)	at cucumber.runtime.Runtime.(Runtime.java:69)	at cucumber.runtime.Runtime.(Runtime.java:65)	at cucumber.api.junit.Cucumber.createRuntime(Cucumber.java:78)	at cucumber.api.junit.Cucumber.(Cucumber.java:58)	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:29)	at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:21)	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:26)	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createUnfilteredTest(JUnit4TestLoader.java:84)	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:70)	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:43)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:444)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)