<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>8.2.1.jre8</version>
</dependency>
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修改成以上。