Mysql SSLException Error
约 77 字
预计阅读 1 分钟
次阅读
错误
1
2
3
4
5
6
7
8
9
10
|
EXCEPTION STACK TRACE:
** BEGIN NESTED EXCEPTION **
javax.net.ssl.SSLException
MESSAGE: closing inbound before receiving peer's close_notify
STACKTRACE:
javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify
|
原因
开启了userSSL
解决
在连接字符串后面拼接?useSSL=false
1
2
|
spring.datasource.url=jdbc:mysql://localhost:3306/test
spring.datasource.url=jdbc:mysql://localhost:3306/test?useSSL=false
|