java.lang.ClassNotFoundException

com.intellij.rt.execution.junit.JUnitStarter

Samebug tips10

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

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web6

  • com.intellij.rt.execution.junit.JUnitStarter
  • via jetbrains.com by Unknown author, 1 year ago
    com.intellij.rt.execution.junit.JUnitStarter
  • via jetbrains.com by Unknown author, 1 year ago
    com.intellij.rt.execution.junit.JUnitStarter
  • Stack trace

    • java.lang.ClassNotFoundException: com.intellij.rt.execution.junit.JUnitStarter at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:102)

    Write tip

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

    Users with the same issue

    2 times, 3 months ago
    Once, 3 months ago
    14 times, 4 months ago
    3 times, 4 months ago
    18 times, 4 months ago
    1380 more bugmates