Results 1 to 4 of 4

Thread: groovy: NoClassDefFoundError: org/apache/tools/ant/input/InputHandler

  1. #1
    Join Date
    Dec 2009
    Location
    90712
    Posts
    13

    Default groovy: NoClassDefFoundError: org/apache/tools/ant/input/InputHandler

    hi, getting this in my sts 2.3.0.RELEASE. works fine from the command line.

    problem is new AntBuilder().copy(file:f,tofile:destination).

    does anyone know which jar is needed?

    thanks

  2. #2
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    750

    Default

    Are you getting this error when trying to compile or when trying to run a grails command?

    InputHandler is in grails-install-loc/lib/ant-1.7.1.jar. You can try to add this to your classpath explicitly, but this is only a workaround and not a fix.

    At this point, I am not sure why it is not being added to your grails classpath. Please let me know in exactly which situations you receive this exception and I will explore deeper.
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

  3. #3
    Join Date
    Dec 2009
    Location
    90712
    Posts
    13

    Default sorry, i can not reproduce this.

    i was out of town for a week in a gwt class. i can not remember what i did to get this problem

    please accept my apology for using up your time.

    thanks

  4. #4
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    750

    Default

    No problem. Let me know if you can ever reproduce this.
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •