Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6901

@Grab dependencies can't be fetched

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.3
    • 2.3.5, 2.4.0-beta-2
    • Grape
    • Running in IntelliJ IDEA on OSX

    Description

      When I try to grab dependencies, I get an error:

      1:36:15 PM 0 Grape dependency jars added
                 @Grab(group = 'org.codehaus.groovy.modules.http-builder', module = 'http-builder', version = '0.7.2'): 0 jars
                 org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
                 General error during conversion: No such property: canonicalPath for class: java.net.URL
                 groovy.lang.MissingPropertyException: No such property: canonicalPath for class: java.net.URL

      Full error message available my github gists.

      Attachments

        1. sandbox.groovy
          0.3 kB
          Rick Herrick

        Activity

          People

            paulk Paul King
            rherrick Rick Herrick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: