关于Struts报错的问题

Struts Problem Report

Struts has detected an unhandled exception:

Messages: 1.java.math.BigInteger cannot be cast to java.lang.Long
2.java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long
3.Could not open connection

File: com/mysql/jdbc/ConnectionImpl.java

ERROR: java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long
org.hibernate.exception.GenericJDBCException: Could not open connection

求问怎么改 代码应该是没什么问题 项目部署出现这个问题

一共2个问题,一个是sql类型的问题
https://www.cnblogs.com/pandazhao/p/10948822.html
一个是数据库配置或者jdbc连接的问题,检查下连接字符串。