500错误的一些解决方案001

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:

Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Could not create connection to database server.)

500错误的一些解决方案001

原因:

mysql-connector-java-5.1.0-bin.jar jar包和maven的依赖冲突(不一定是mave项目,可能是你电脑用过maven,下载过相关依赖)

解决方法:

jar包换个版本(本人是降低版本可以了)