我要评分
获取效率
正确性
完整性
易理解

Downloading apr-1.6.3

Symptom

Failed to download apr-1.6.3.

Key Process and Cause Analysis

None

Conclusion and Solution

  1. Open the pom.xml file.
    1
    vi pom.xml
    
  2. Press i to enter the insert mode and comment out the two locations for downloading apr-1.6.3 in the file.

    Location 1:

    1
    src="http://archive.apache.org/dist/apr/${aprArchiveFile}" dest="${project.build.directory}/${aprArchiveFile}" verbose="on"
    

    Location 2:

    1
    src="http://archive.apache.org/dist/apr/${aprTarGzFile}" dest="${project.build.directory}/${aprTarGzFile}" verbose="on"
    
  3. Press Esc, type :wq!, and press Enter to save the file and exit.
  4. Download the apr-1.6.3.tar.gz package to the specified directory.
    1
    2
    wget https://archive.apache.org/dist/apr/apr-1.6.3.tar.gz
    mv apr-1.6.3.tar.gz netty-tcnative-netty-tcnative-parent-2.0.7.Final/openssl-static/target
    
  5. Perform the compilation again.