Error "Connect to central.maven.org:80 connection timed out" Reported During Compilation
Symptom
An error is reported during compilation:
1 | Failed Connect to central.maven.org:80 connection timed out |
Key Process and Cause Analysis
None
Conclusion and Solution
- Open the java/Makefile file.
1vi java/Makefile - Press i to enter the insert mode and change the Maven repository address in line 190 to https://repo1.maven.org/maven2/.
1190 CENTRAL_REPO_URL?=https://repo1.maven.org/maven2/ - Press Esc, type :wq!, and press Enter to save the file and exit.
Parent topic: Troubleshooting