java.lang.NoClassDefFoundError: org/eclipse/jetty/server/ssl/SslSocketConnector

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.
tip

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.

tip

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

tip

Check if you didn't forget to instantiate your topic in the kafka broker.

tip

NoClassDefFoundError means java has failed to find a class you're trying to instantiate, look if you've added the class you're trying to instantiate to the dependencies.

tip

You need to add httpcore to your dependencies. Try adding version 4.3 or further.

tip

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

tip

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}"

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

  • GWT testing using buck
    via Stack Overflow by Damien Chesneau
    ,
  • How do GWT tests on Gerrit plugins ?
    via by Damien Chesneau,
  • GitHub comment 5#111178008
    via GitHub by sparadiso
    ,
  • Ubuntu 16.04 Exception
    via GitHub by tilowr
    ,
  • mahout - running grouplens example error
    via Stack Overflow by ulkas
    ,
  • CS-bg.info • Minecraft Crash Error :(
    via by Unknown author,
    • java.lang.NoClassDefFoundError: org/eclipse/jetty/server/ssl/SslSocketConnector at com.google.gwt.junit.JUnitShell$ArgProcessor.<init>(JUnitShell.java:244) at com.google.gwt.junit.JUnitShell.getUnitTestShell(JUnitShell.java:690) at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:678) at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:421) at junit.framework.TestCase.runBare(TestCase.java:141) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:129) at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:247) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at org.junit.runners.Suite.runChild(Suite.java:127) at org.junit.runners.Suite.runChild(Suite.java:26) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runner.JUnitCore.run(JUnitCore.java:160) at org.junit.runner.JUnitCore.run(JUnitCore.java:138) at com.facebook.buck.testrunner.JUnitRunner.run(JUnitRunner.java:132) at com.facebook.buck.testrunner.BaseRunner.runAndExit(BaseRunner.java:219) at com.facebook.buck.testrunner.JUnitMain.main(JUnitMain.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.facebook.buck.jvm.java.runner.FileClassPathRunner.main(FileClassPathRunner.java:87) Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.ssl.SslSocketConnector 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) ... 31 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    junior_cEngineer
    junior_cEngineer1 times, last one,
    Matty
    Matty1 times, last one,
    rsprangemeijer
    rsprangemeijer3 times, last one,
    2331 more bugmates