
驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]”。为什么连接失败?有什么解决的办法吗?救救孩子吧!
连接数据库的jar包版本不兼容,JDK,数据库,jar包分别是什么版本呢?
试试在jdk安装目录下找到jre\lib\security\java.security这个文件打开,找到jdk.tls.disabledAlgorithms值,用#注释掉
服务开了吗