最后運行時出現如下警告,而且出現2處錯誤,但是沒有具體說明,請問如下的警報可能是那些錯誤
WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements 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.
2017-10-19
首先 warn只是警告可以忽略的,不知道你說的出現兩處錯誤是在哪里 如果不想出現這個warn 可以在url后加上useSSL=true或者false即可