异常: 2020-01-09 18:30:48.072 ERROR 10212 --- [nio-8080-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.orm.jpa.JpaSystemException: Could not apply work; nested exception is org.hibernate.HibernateException: Could not apply work] with root cause
com.atomikos.jdbc.AtomikosSQLException: Connection pool exhausted - try increasing 'maxPoolSize' and/or 'borrowConnectionTimeout' on the DataSourceBean.
解决: spring.jta.atomikos.datasource.max-pool-size=10
spring.jta.atomikos.datasource.borrow-connection-timeout=10000
来源:CSDN
作者:Neal_Shan
链接:https://blog.csdn.net/shandeai520/article/details/103954964