springboot jpa 加事务@Transactional报错

2021-02-23 18:43发布

org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: Already value [org.springframework.jdbc.datasource.ConnectionHolder@67914efe] for key [HikariDataSource (HikariPool-1)] bound to thread [http-nio-8081-exec-2]  

1条回答
A_123mtr
1楼-- · 2021-02-23 19:08

求大佬给解决一下