数据库连接问题:The server selected protocol version TLS10 is not accepted by client preferences [TLS12]
jdk-8u291禁用TLS 1.0和1.1 我用的数据库:SqlServer2014
进入JDK找到\jre1.8.0_291\lib\security下的java.security,打开删掉
jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA, \
DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, \
include jdk.disabled.namedCurves
便可解决问题。
链接:https://blog.csdn.net/weixin_47180824/article/details/116236919