java.lang.NoClassDefFoundError: org/junit/runner/manipulation/Filter

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 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.


Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all


This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 {file location}"

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 1426#264708710
    via GitHub by nitinware
  • Building Apache Flume to use Solr 6 as a sink
    via by Unknown author,
  • NoClassDefFoundError while using spring aop
    via Stack Overflow by Jois
    • java.lang.NoClassDefFoundError: org/junit/runner/manipulation/Filter at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass( at at at$100( at$ at$ at Method) at at java.lang.ClassLoader.loadClass( at sun.misc.Launcher$AppClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at org.junit.vintage.engine.discovery.JUnit4DiscoveryRequestResolver.getAllDiscoverySelectorResolvers( at org.junit.vintage.engine.discovery.JUnit4DiscoveryRequestResolver.collectTestClasses( at org.junit.vintage.engine.discovery.JUnit4DiscoveryRequestResolver.resolve( at at org.junit.platform.launcher.core.DefaultLauncher.discoverRoot( at at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs( at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart( at com.intellij.rt.execution.junit.JUnitStarter.main( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at com.intellij.rt.execution.application.AppMain.main( Caused by: java.lang.ClassNotFoundException: org.junit.runner.manipulation.Filter at at java.lang.ClassLoader.loadClass( at sun.misc.Launcher$AppClassLoader.loadClass( at java.lang.ClassLoader.loadClass( ... 26 more

    Users with the same issue

    arturgajowy1 times, last one,
    olle.hallin2 times, last one,
    batwalrus763 times, last one,
    rsprangemeijer1 times, last one,
    andyglick2 times, last one,
    1499 more bugmates