[Bug]: Unable to create a ConnectionFactory for 'ConnectionFactoryOptions{options={driver=tc #5863
Answered
by
hariohmprasath
sneakythr0ws
asked this question in
Q&A
ModulePostgreSQL Testcontainers version1.17.3 Using the latest Testcontainers version?Yes Host OSLinux Host Archx86 Docker version20.10.17What happened?
dependencies: config: Relevant log outputNo response Additional InformationNo response |
Answered by
hariohmprasath
Sep 21, 2022
Replies: 1 comment
|
Hi @sneakythr0ws, 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 |
0 replies
Answer selected by
kiview
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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