[Bug]: Unable to create a ConnectionFactory for 'ConnectionFactoryOptions{options={driver=tc #5863
-
ModulePostgreSQL Testcontainers version1.17.3 Using the latest Testcontainers version?Yes Host OSLinux Host Archx86 Docker version20.10.17 What happened?
dependencies:
config:
Relevant log outputNo response Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
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