Skip to content

[Bug]: Unable to create a ConnectionFactory for 'ConnectionFactoryOptions{options={driver=tc #5863

Discussion options

You must be logged in to vote

Hi @sneakythr0ws,
Looks like you might be missing this dependency in your gradle file which could be causing this issue:
testImplementation "org.testcontainers:r2dbc:1.17.3"

Can you add this and give it a try?

If you want to use testcontainers in your main spring boot application rather than test class then you may need to change the scope of this dependency to runtime

Replies: 1 comment

Comment options

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

This discussion was converted from issue #5855 on September 24, 2022 09:33.