CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.5.1 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.5.1 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.5.1/maven-compiler-plugin-2.5.1.pom. Error code 501, HTTPS Required
Asked
Active
Viewed 25 times
0
-
You are using http access to central repository which is turned off for a longer time... take a deeper look here: https://support.sonatype.com/hc/en-us/articles/360041287334-Central-501-HTTPS-Required. furthermore please upgrade your maven installation and your used plugins... – khmarbaise Feb 20 '21 at 11:50
-
He said to replace Replace http://repo1.maven.org/maven2/ with https://repo1.maven.org/maven2/ where I have to replace this.Where this will be there? – Srinath Murugula Feb 20 '21 at 12:03
-
What maven version/JDK version do you use? And it looks like you are using a outdates plugin versions... – khmarbaise Feb 20 '21 at 12:23
-
I am trying to uninstall the maven software in eclipse.Even that is also not working. – Srinath Murugula Feb 20 '21 at 13:05
-
Which eclipse version? Upgrade to most recent version. – khmarbaise Feb 20 '21 at 13:37
-
1yes eclipse was 2017 version.Now I have downloaded new one.Its working fine.Thank you. – Srinath Murugula Feb 20 '21 at 15:59