Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: HikariDataSource HikariDataSource (settleCenterHikariCP) has been closed. ### The error may exist in class path resource [mapper/SystemParamMapper.xml] ### The error may involve com.bestpay.settlecenter.dal.mapper.SystemParamMapper.selectSystemParamByParamId ### The error occurred while executing a query 解释一下啊
时间: 2023-04-08 10:04:48 浏览: 149
查询数据库出错。原因是:org.springframework.jdbc.CannotGetJdbcConnectionException: 无法获取JDBC连接;嵌套异常是java.sql.SQLException: HikariDataSource HikariDataSource(settleCenterHikariCP)已关闭。
相关问题
Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException:
Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO) ...
这个错误是由于无法获取JDBC连接引起的。可能的原因是数据库连接配置错误或者数据库用户权限问题。请检查数据库连接配置是否正确,并确保数据库用户具有足够的权限。
error querying database. cause: org.springframework.jdbc.cannotgetjdbcconnectionexception: failed to obtain jdbc connection; nested exception is java.sql.sqlexception: connections could not be acquired from the underlying database!
错误查询数据库。原因:org.springframework.jdbc.CannotGetJdbcConnectionException:无法获取JDBC连接;嵌套异常是java.sql.SQLException:无法从底层数据库获取连接!