Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-467

NoSuchMethodError UrlUtils.getURL when using JDK3 for testing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.2
    • 2.4.3
    • None
    • None
    • Maven 2.0.8
      JDK 1.5.0_11
      JDK 1.3.1_20

    Description

      java.lang.NoSuchMethodError
      at org.apache.maven.surefire.util.UrlUtils.getURL(UrlUtils.java:39)
      at org.apache.maven.surefire.booter.SurefireBooter.createClassLoader(SurefireBooter.java:730)

      Only appears when using JDK3, not JDK4 with the following configuration

      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-surefire-plugin</artifactId>
      <configuration>
      <jvm>${JDK3_HOME}/bin/java</jvm>
      </configuration>
      </plugin>

      See the debug log

      Attachments

        1. debug.log
          61 kB
          Antoine Véret

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              averet Antoine Véret
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: