在使用ssh做项目时出现Struts Problem Report

Struts has detected an unhandled exception:

Messages: 1.A ResourcePool could not acquire a resource from its primary factory or source.
2.Connections could not be acquired from the underlying database!
3.Cannot open connection
4.Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection

File: com/mchange/v2/resourcepool/BasicResourcePool.java
Line number: 1,319

img

可以看一下这个
https://blog.csdn.net/qinzongjian/article/details/84598379
修改status的配置文件

<constant name="struts.devMode" value="true"/>

修改为

<constant name="struts.devMode" value="false"/>