记录-Getting `TLSv1 was negotiated. Please update server and client to use TLSv1.2 at minimum` while .

com.microsoft.sqlservermssql-jdbc8.2.1.jre8springboot连接数据库时报错:TLSv1 was negotiat
com.microsoft.sqlservermssql-jdbc8.2.1.jre8

springboot连接数据库时报错:TLSv1 was negotiated. Please update server and client to use TLSv1.2 at minimum` while trying to connect to MS SQL server

解决:在Maven项目中,到pom.xml修改成以上。