首页 > 编程语言 >java 常见异常

java 常见异常

时间:2023-01-11 22:13:01浏览次数:25  
标签:exception java 常见 nested Connection org 异常 ###

1.数据库连接关闭(mybatis)

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: 
### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30001ms.
### The error may exist in com/mango/mapper/UserMapper.java (best guess)
### The error may involve com.mango.mapper.UserMapper.selectList
### The error occurred while executing a query
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30001ms.

  

标签:exception,java,常见,nested,Connection,org,异常,###
From: https://www.cnblogs.com/lljboke/p/17045034.html

相关文章