java.lang.NoClassDefFoundError: javax/ws/rs/WebApplicationException

polarsparc.com | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Apache Spark Quick Notes :: Part - 1

    polarsparc.com | 8 months ago
    java.lang.NoClassDefFoundError: javax/ws/rs/WebApplicationException
  2. 0

    Apache Spark User List - Pig on Spark

    nabble.com | 7 months ago
    java.lang.NoClassDefFoundError: org/apache/mesos/Scheduler
  3. 0

    I dont know why i am getting this error with junit

    Stack Overflow | 2 years ago | Souparno Majumder
    java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoClassDefFoundError: org/slf4j/spi/LoggerFactoryBinder

    Stack Overflow | 2 years ago | Jamie White
    java.lang.NoClassDefFoundError: org/slf4j/spi/LoggerFactoryBinder
  6. 0

    WebSockets with Embedding Jetty

    Stack Overflow | 2 years ago | kakajan
    java.lang.NoClassDefFoundError: org/eclipse/jetty/io/nio/AsyncConnection

  1. andyglick 2 times, last 1 week ago
  2. bamboomy 1 times, last 2 weeks ago
  3. Handemelindo 4 times, last 2 months ago
  4. Hronom 1 times, last 3 months ago
  5. batwalrus76 6 times, last 3 months ago
8 more registered users
87 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    javax.ws.rs.WebApplicationException

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    5. java.lang.ClassLoader.defineClass1(Native Method)
    6. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    7. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    8. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    9. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    10. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    11. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    12. java.security.AccessController.doPrivileged(Native Method)
    13. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    14. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    15. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    16. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    16 frames
  3. Spark
    JavaSparkContext.<init>
    1. org.apache.spark.ui.SparkUI.<init>(SparkUI.scala:37)
    2. org.apache.spark.ui.SparkUI$.create(SparkUI.scala:190)
    3. org.apache.spark.ui.SparkUI$.createLiveUI(SparkUI.scala:141)
    4. org.apache.spark.SparkContext.<init>(SparkContext.scala:440)
    5. org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:61)
    5 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    4 frames
  5. Py4J
    GatewayConnection.run
    1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:234)
    2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:379)
    3. py4j.Gateway.invoke(Gateway.java:214)
    4. py4j.commands.ConstructorCommand.invokeConstructor(ConstructorCommand.java:79)
    5. py4j.commands.ConstructorCommand.execute(ConstructorCommand.java:68)
    6. py4j.GatewayConnection.run(GatewayConnection.java:207)
    6 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame