java.lang.NoClassDefFoundError: org/mockito/exceptions/Reporter

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

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.


you can change your scala version to 2.11.11

Solutions on the web

via Stack Overflow by abierto
, 6 months ago
via Stack Overflow by Ilanthirayan Paramanathan
, 9 months ago
java.lang.ClassNotFoundException: org.mockito.exceptions.Reporter
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at org.powermock.core.classloader.MockClassLoader.loadModifiedClass(
at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass1(
at java.lang.ClassLoader.loadClass(
at sun.reflect.GeneratedSerializationConstructorAccessor5.newInstance(Unknown Source)
at org.powermock.reflect.internal.WhiteboxImpl.newInstance(
at org.powermock.api.extension.reporter.AbstractMockingFrameworkReporterFactory.getInstanceForClassLoader(
at org.powermock.api.extension.reporter.AbstractMockingFrameworkReporterFactory.create(
at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.getMockingFrameworkReporter(
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(

Users with the same issue

Once, 2 days ago
Once, 3 days ago
2 times, 6 days ago
Once, 6 days ago
Once, 6 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.