You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Unable to create a ConnectionFactory for 'ConnectionFactoryOptions{options={driver=tc #5855
Unable to create a ConnectionFactory for 'ConnectionFactoryOptions{options={driver=tc, TC_IMAGE_TAG=9.6.8, protocol=postgresql, database=databasename}}'. Available drivers: [ postgresql, pool ]
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
Activity
hariohmprasath commentedon Sep 21, 2022
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