2 weixin 37235797 weixin_37235797 于 2017.01.03 09:58 提问

数据库连接查询问题,求助

严重: Servlet.service() for servlet [springMVC] in context with path [/xphr2] threw exception [Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!] with root cause
com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.

2个回答

u012934325
u012934325   2017.01.03 10:02

数据库连接没有打开吧

bdmh
bdmh   Ds   Rxr 2017.01.03 10:10

检查数据库连接配置是否对,数据库服务是否启动

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!