连接池问题

{
  "msg": "运行时异常:nested exception is org.apache.ibatis.exceptions.PersistenceException: \r\n### 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 30014ms.\r\n### The error may exist in file [D:\\ideaWorkSpace\\plidms325\\project\\target\\classes\\mybatis\\system\\MenuMapper.xml]\r\n### The error may involve com.ruoyi.project.system.menu.mapper.MenuMapper.selectMenusByUserId\r\n### The error occurred while executing a query\r\n### 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 30014ms.",
  "code": 500
}

  

原文地址:https://www.cnblogs.com/torchstar/p/15610865.html