昨天去部署项目的时候突然间报了一个:The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: ''RSA premaster secret error". ClientConnectionId:***-***-***-***-***的错误
让我一阵的懵逼,原来是因为启动时的
java -Djava.ext.dirs=./lib 导致的
改为
java -Djava.ext.dirs=%JAVA_HOME%/jre/lib/ext;./lib Main(windows系统)
java -Djava.ext.dirs=%JAVA_HOME%/jre/lib/ext:./lib Main(Linux系统)