报错: HTTP Status 500 - Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!
数据库连接池连接失败
先看看以下五点有没有问题:
1,驱动配置有误;
2,数据库连接地址有误;
3,密码或帐号有误;
4,数据库未启动或无权访问;
5,项目未引入对应的驱动jar包;
如果都没问题,那基本就是你的c3p0配置文件出问题了!
建议数据库连接池配置文件直接复制进src中,然后修改,这样配置文件一般不会出问题

相关文章:

  • 2021-11-30
  • 2021-03-11
  • 2021-12-18
  • 2022-12-23
  • 2021-11-08
  • 2021-09-30
  • 2021-08-13
  • 2021-12-15
猜你喜欢
  • 2021-12-16
  • 2022-02-10
  • 2021-11-17
  • 2022-12-23
  • 2021-06-03
  • 2021-12-15
  • 2021-12-25
相关资源
相似解决方案