java.lang.NoClassDefFoundError: org/apache/tools/ant/Project

GitHub | shriduttkothari | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Issue with 3.1-SNAPSHOT

    GitHub | 11 months ago | ksprash
    java.lang.NoClassDefFoundError: org/apache/tools/ant/Project
  2. 0
    samebug tip
    Look for missing class files, specially org.I0Itec.zkclient.IZkStateListener.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    where to download javaee.jar with entire method bodies

    Stack Overflow | 3 years ago | LearnerFreak
    java.lang.ClassNotFoundException: javax.transaction.TransactionManager
  5. 0

    Remote database setup problem with version 0.2.7-SNAPSHOT

    GitHub | 2 years ago | darchaimbault
    java.lang.ClassNotFoundException: com.orientechnologies.orient.core.sql.OCommandSQLParsingException

  1. iferca 3 times, last 2 weeks ago
  2. andyglick 1 times, last 2 weeks ago
  3. Andreas Häber 2 times, last 2 weeks ago
  4. carloscharx 6 times, last 3 weeks ago
  5. poroszd 1 times, last 3 weeks ago
68 more registered users
27 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

    org.apache.tools.ant.Project

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(Unknown Source)
    2. java.net.URLClassLoader$1.run(Unknown Source)
    3. java.security.AccessController.doPrivileged(Native Method)
    4. java.net.URLClassLoader.findClass(Unknown Source)
    5. java.lang.ClassLoader.loadClass(Unknown Source)
    6. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    7. java.lang.ClassLoader.loadClass(Unknown Source)
    7 frames
  3. Roboelectric
    RobolectricTestRunner.runChild
    1. org.robolectric.internal.dependency.MavenDependencyResolver.<init>(MavenDependencyResolver.java:15)
    2. org.robolectric.internal.dependency.MavenDependencyResolver.<init>(MavenDependencyResolver.java:20)
    3. org.robolectric.RobolectricTestRunner.getJarResolver(RobolectricTestRunner.java:105)
    4. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:189)
    5. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:56)
    5 frames
  4. JUnit
    ParentRunner$2.evaluate
    1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    5 frames
  5. Roboelectric
    RobolectricTestRunner$1.evaluate
    1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:157)
    1 frame
  6. JUnit
    ParentRunner.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    1 frame
  7. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    1 frame
  8. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    5 frames