Skip to content

Error creating bean with name 'jobRepositoryTestUtils': Unsatisfied dependency expressed through method 'setDataSource' parameter 0 #4380

Closed Answered by fmbenhassine
oha85 asked this question in Q&A
Discussion options

You must be logged in to vote

For v4, you have to specify a datasource if you want to use @SpringBatchTest. The workaround is to not use @SpringBatchTest and register the test utilities manually.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fmbenhassine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants