1.java.lang.ClassNotFoundException: org.springframework.web.filter.CharacterEncodingFilter
检查artifcet中的lib是否存在,以及内部的依赖是否齐全。
2.Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
第一步检查sql是否写正确,第二步检查result类型是否则正确,后面不行在看是不是密码错误。
3.Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
在配置数据源中删掉ssl=true。
4.java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
数据库密码错误