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

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

    The simplest solution is to configure your JVM runtime arguments. On eclipse, you can do it as following :

    go to windows>preferences>java>installed JREs click on the Intalled JRE/JDK you are using for your project

    click on "edit" on le right, and add -Dhttps.protocols=TLSv1.2 in the Default VM arguments Input field.

    see the screenshot :

    Screenshot

提交回复
热议问题