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

前端 未结 10 1244
青春惊慌失措
青春惊慌失措 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条回答
  •  爱一瞬间的悲伤
    2021-02-02 09:43

    The SSL connection to the database is failing, try changing your datasource URL to:

    spring.datasource.url=jdbc:mysql://localhost:3306/employee_database?useSSL=false
    

提交回复
热议问题