zoukankan      html  css  js  c++  java
  • SSL connection must be established by default if explicit option isn’t set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to ‘false’.

    项目运行出现以下报错:

    SSL connection must be established by default if explicit option isn’t set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to ‘false’. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
     

    我出现的原因:安装的 mysql是 8.0版本,但是驱动包版本太低;

    我解决的方式:卸载 8.0版本的 mysql,安装 5.0版本的 mysql 。

    注意:出现报错,我首先搜索错误,按照大佬博文去修改代码,但是错误没解决。

      在我安装 5.0版本 mysql后,项目可以运行。
  • 相关阅读:
    技术笔记3
    技术笔记2 jetty jboss
    技术笔记1前台
    日常笔记4
    日常笔记3
    日常笔记2
    日常笔记
    C语言——结构体
    用Java原子变量的CAS方法实现一个自旋锁
    Java中处理Linux信号量
  • 原文地址:https://www.cnblogs.com/ynzj123/p/14140979.html
Copyright © 2011-2022 走看看