Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-1634

Occured 501 HTTP Error while downloading 'h2' dependency

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 2.15
    • ManifoldCF 2.16
    • Build
    • None

    Description

      We have to update h2 dependency download  link. I try this command:

      ant make-core-deps

      I have this error:

      download-h2:
            [get] Getting: http://repo2.maven.org/maven2/com/h2database/h2/1.3.158/h2-1.3.158.jar
            [get] To: /Users/cguzel/Projects/apache/svn/mcf-trunk/lib/h2-1.3.158.jar
            [get] Error opening connection java.io.IOException: Server returned HTTP response code: 501 for URL: http://repo2.maven.org/maven2/com/h2database/h2/1.3.158/h2-1.3.158.jar
            [get] Error opening connection java.io.IOException: Server returned HTTP response code: 501 for URL: http://repo2.maven.org/maven2/com/h2database/h2/1.3.158/h2-1.3.158.jar
            [get] Error opening connection java.io.IOException: Server returned HTTP response code: 501 for URL: http://repo2.maven.org/maven2/com/h2database/h2/1.3.158/h2-1.3.158.jar
            [get] Can't get http://repo2.maven.org/maven2/com/h2database/h2/1.3.158/h2-1.3.158.jar to /Users/cguzel/Projects/apache/svn/mcf-trunk/lib/h2-1.3.158.jar
      
      BUILD FAILED
      /Users/cguzel/Projects/apache/svn/mcf-trunk/build.xml:1514: Can't get http://repo2.maven.org/maven2/com/h2database/h2/1.3.158/h2-1.3.158.jar to /Users/cguzel/Projects/apache/svn/mcf-trunk/lib/h2-1.3.158.jar
      

      I tried the request in my browser and got the following response:
      http://repo2.maven.org/maven2/com/h2database/h2/1.3.158/h2-1.3.158.jar

      501 HTTPS Required. 
      Use https://repo1.maven.org/maven2/
      More information at https://links.sonatype.com/central/501-https-required
      

      Attachments

        Activity

          People

            cguzel Cihad Guzel
            cguzel Cihad Guzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: