(No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value
(No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value
先按提示添加maxLifetime的超时时间试试看
spring:
# 数据库连接
datasource:
username: root
password:
url:
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
max-lifetime: 1200000