java.lang.NoClassDefFoundError: com/sun/net/httpserver/HttpHandler

Stack Overflow | CodeYogi | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Ant issue while running native http Server

    Stack Overflow | 9 months ago | CodeYogi
    java.lang.NoClassDefFoundError: com/sun/net/httpserver/HttpHandler
  2. 0

    Unable to run webdriver code in eclipse with ant ?

    Coderanch | 4 years ago | Mac Dcosta
    java.lang.NoClassDefFoundError: org/openqa/selenium/WebDriver
  3. 0

    build jnaerate failed

    GitHub | 2 years ago | yangzp138
    java.lang.NoClassDefFoundError: com.ochafik.lang.jnaerator.parser.Identifier$QualifiedIdentifier
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    instructions

    xradar | 8 years ago | moucard
    java.lang.NoClassDefFoundError: org/apache/xml/resolver/tools/CatalogResolver
  6. 0

    How Do I Configure Buildr to run ScalaTest 2.11?

    Stack Overflow | 3 years ago
    java.lang.NoClassDefFoundError: scala/xml/MetaData

    4 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

      com.sun.net.httpserver.HttpHandler

      at org.apache.tools.ant.AntClassLoader.findClassInComponents()
    2. Ant
      AntClassLoader.loadClass
      1. org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1374)
      2. org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1323)
      3. org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1082)
      3 frames
    3. Java RT
      Class.forName
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      2. java.lang.Class.forName0(Native Method)
      3. java.lang.Class.forName(Class.java:344)
      3 frames
    4. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:135)
      2. org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
      3. org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
      4. org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
      5. org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
      6. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
      6 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    6. Ant
      Main.startAnt
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:435)
      4. org.apache.tools.ant.Target.performTasks(Target.java:456)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1364)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      8. org.apache.tools.ant.Project.executeTargets(Project.java:1248)
      9. org.apache.tools.ant.Main.runBuild(Main.java:851)
      10. org.apache.tools.ant.Main.startAnt(Main.java:235)
      10 frames
    7. Apache Ant Launcher
      Launcher.main
      1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
      2 frames