问题1:出现SSH相关的警告,但这个警告不影响程序的正常执行,只是警告不安全而已。
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.
问题2:告知一些C3P0的问题
问题3:数据库加载的一些问题
这些问题看似难以解决,网站上有各种的解决办法,试了试不能有效,可以借鉴经验。
由于我们开启的是单元测试,所以,我们直接从单元测试找问题的答案,问题的错因时就简单一下,这也是一个坑,大家可以避免。
Test错误: