라벨이 스프링인 게시물 표시

SpringBoot 테스트 코드 동작 중 "Could not open JDBC Connection for transaction"

1. 오류 코드 Copy Code Expand org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:313) ~[spring-jdbc-6.1.13.jar:6.1.13] at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:532) ~[spring-tx-6.1.13.jar:6.1.13] at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:405) ~[spring-tx-6.1.13.jar:6.1.13] at org.springframework.test.context.transaction.TransactionContext.startTransaction(TransactionContext.java:103) ~[spring-test-6.1.13.jar:6.1.13] at org.springframework.test.context.transaction.TransactionalTestExecutionListener.beforeTestMethod(TransactionalTestExecutionListener.java:236) ~[spring-test-6.1.13.jar:6.1.13] at org.springframewor...

SpringBoot 테스트 코드 동작 중 "Could not open JDBC Connection for transaction"

1. 오류 코드 Copy Code Expand org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:313) ~[spring-jdbc-6.1.13.jar:6.1.13] at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:532) ~[spring-tx-6.1.13.jar:6.1.13] at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:405) ~[spring-tx-6.1.13.jar:6.1.13] at org.springframework.test.context.transaction.TransactionContext.startTransaction(TransactionContext.java:103) ~[spring-test-6.1.13.jar:6.1.13] at org.springframework.test.context.transaction.TransactionalTestExecutionListener.beforeTestMethod(TransactionalTestExecutionListener.java:236) ~[spring-test-6.1.13.jar:6.1.13] at org.springframewor...

이 블로그의 인기 게시물

SpringBoot 테스트 코드 동작 중 "Could not open JDBC Connection for transaction"

테스트