# # # Cause: org. Springframework. JDBC. CannotGetJdbcConnectionException: Could not get JDBC Connection; Nested exception is com. Alibaba. Druid. Pool. DataSourceClosedException: dataSource already closed at Wed Jun 24 11:12:25 CST 2020
Do not use the thread pool, use the main thread is OK, use the thread pool database was shut down
The following is the database connection pool code:
XMLNS: context="http://www.springframework.org/schema/context"
XMLNS: task="http://www.springframework.org/schema/task"
Xsi: schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/task
http://www.springframework.org/schema/task/spring-task.xsd "& gt;
CodePudding user response:
Which bosses can help have a look at the position for 1 days didn't see the problem to need to provide the information I leave a message to provide myCodePudding user response:
My is mysqlCodePudding user response:
Remote assistance to see for you?CodePudding user response:
Add my QQ?105009010nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull