java.lang.NoClassDefFoundError

Main (wrong name: org /apache/tools/ant/Main)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web20905

  • via wpthm.com by Unknown author, 1 year ago
    Main (wrong name: org /apache/tools/ant/Main)
  • via Oracle Community by 807549, 10 months ago
    Main (wrong name: org /apache/tools/ant/Main)
  • org/apache/tools/ant/Main
  • Stack trace

    • java.lang.NoClassDefFoundError: Main (wrong name: org /apache/tools/ant/Main) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    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

    Unknown user
    Once, 1 year ago
    Once, 6 months ago
    Unknown user
    Once, 11 months ago