双11狂欢大促

盲盒赢 定制羽绒服

开启惊喜盲盒,抽取你的专属好礼

— 惊喜奖品抢先看 —

很奇怪,搞不定,求大家帮忙!!!!很急!!!!!在线等!!

rikee19810706 rikee19810706 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我在做一个SSH的项目,属于功能升级:
写了一个业务逻辑的class Biz,对相关的表做了ORMAP,写了一个测试类继承Testcase
服务器用tomcat,datasource配置了连接池

用测试类直接测试,一切正常,但是部署到tomcat就报错:

# Exception occurred while logging on
org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Connections could not be acquired from the underlying database!; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!
...全文

相关推荐

评论 25
收藏 已收藏
分享
返回顶部
rikee19810706
Java EE 67,535 成员 225,843 内容