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

后端 未结 9 788
栀梦
栀梦 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:27

    For a permanent solution(mostly required in Java 7) - in you build directory(where you do the mvn command from) add directory:

    .mvn (in cmd mkdir .mvn)

    and in it create file

    jvm.config

    and in put the following line:

    -Dhttps.protocols=TLSv1.2

提交回复
热议问题