Spring Boot: Jdbc javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify

前端 未结 10 1217
青春惊慌失措
青春惊慌失措 2021-02-02 08:59

I am currently learning more about implementing JDBC and using databases in a Spring Boot webapp, and I encountered the following Stack Trace written in the bottom of the post.<

10条回答
  •  -上瘾入骨i
    2021-02-02 09:37

    Try using the following URL. As they suggested use useSSL=false Also, Make sure to use <&> instead of just & when you have multiple properties defined in your URL.

    jdbc:mysql://localhost:3306/TestDB?serverTimezone=PST&amp;useSSL=false

提交回复
热议问题