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

@Grab for jetty-9 and OpenJDK 7 error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.0.5, 2.1.0
    • None
    • Grape
    • None

    Description

      When running the following command:

      /groovy -Dgroovy.grape.report.downloads=true -Divy.message.logger.level=4 jettyTest.groovy

      where "jettyTest.groovy" is included below, the grape download never seems to complete, and the script doesn't actually start. Eg. "starting jetty" is never printed. The last output on the console is:

      [NOT REQUIRED] javax.servlet#javax.servlet-api;3.0.1!javax.servlet-api.jar
      [NOT REQUIRED] org.eclipse.jetty#jetty-servlet;9.0.4.v20130625!jetty-servlet.jar
      [NOT REQUIRED] org.eclipse.jetty#jetty-server;9.0.4.v20130625!jetty-server.jar
      [NOT REQUIRED] org.eclipse.jetty#jetty-security;9.0.4.v20130625!jetty-security.jar
      [NOT REQUIRED] org.eclipse.jetty#jetty-http;9.0.4.v20130625!jetty-http.jar
      [NOT REQUIRED] org.eclipse.jetty#jetty-io;9.0.4.v20130625!jetty-io.jar
      [NOT REQUIRED] org.eclipse.jetty#jetty-util;9.0.4.v20130625!jetty-util.jar
      resolve done (813ms resolve - 43ms download)

      Switching to Oracle JDK 7:

      $ java -version
      java version "1.7.0_25"
      Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
      Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

      Works fine

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            boekhold Maarten Boekhold
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: