驅動程序無法通過使用安全套接字層(SSL)加密與 SQL Server 建立安全連接。錯誤:“The server selected protocol version TLS10 is not accepted by client preferences [TLS12]”。
jdk版本問題,換成低版本的jdk或者修改jdk的配置
/jre/lib/security/java.security文件
復制jdk.tls.disabledAlgorithms的設置,然后將TLSv1、TLSv1.1、3DES_EDE_CBC從禁止名單中剔除: