Could not transfer artifact (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [Help 1]

后端 未结 9 787
栀梦
栀梦 2020-12-13 18:09

I am new to Maven and trying to setup my first project in Maven but receiving the below error message when I am doing \" Run as -> Maven install \" in Eclipse. Below is my s

9条回答
  •  不知归路
    2020-12-13 18:50

    I had upgraded from Java 1.7 to Java 1.8 and got the same error. To resolve this error, I checked the mvn version using mvn -version and found that JAVA_HOME was still using the Java 1.7. I changed the JAVA_HOME in the environment variable to point to Java 1.8 jre in JDK

    Hope this helps someone.

提交回复
热议问题