java.lang.IllegalStateException

Already value [org.springframework.jdbc.datasource.ConnectionHolder@90ebfe] for key [org.springframework.jdbc.datasource.DriverManagerDataSource@13043d2] bound to thread [main]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web21959

  • Already value [org.springframework.jdbc.datasource.ConnectionHolder@90ebfe] for key [org.springframework.jdbc.datasource.DriverManagerDataSource@13043d2] bound to thread [main]
  • Already value [org.springframework.jdbc.datasource.ConnectionHolder@90ebfe] for key [org.springframework.jdbc.datasource.DriverManagerDataSource@13043d2] bound to thread [main]
  • via lamsfoundation.org by Unknown author, 1 year ago
    Already value [org.springframework.jdbc.datasource.ConnectionHolder@1758cd1] for key [org.springframework.jdbc.datasource.DriverManagerDataSource@1873eb2] bound to thread [main] at org.springframework.transaction.support.TransactionSynchronizationManager.bindResource (TransactionSynchronizationManager.java:137)
  • Stack trace

    • java.lang.IllegalStateException: Already value [org.springframework.jdbc.datasource.ConnectionHolder@90ebfe] for key [org.springframework.jdbc.datasource.DriverManagerDataSource@13043d2] bound to thread [main] at org.springframework.transaction.support.TransactionSynchronizationManager.bindResource(TransactionSynchronizationManager.java:182) at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:232) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:377) at org.springframework.test.context.transaction.TransactionalTestExecutionListener$TransactionContext.startTransaction(TransactionalTestExecutionListener.java:496) at org.springframework.test.context.transaction.TransactionalTestExecutionListener.startNewTransaction(TransactionalTestExecutionListener.java:256) at org.springframework.test.context.transaction.TransactionalTestExecutionListener.beforeTestMethod(TransactionalTestExecutionListener.java:149) at org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:292)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 1 week ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago