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
If you see something like this, where the driver is not available:
6
+
7
+
```
8
+
Unable to create a ConnectionFactory for 'ConnectionFactoryOptions{options={...}}'. Available drivers: [ pool ]
9
+
```
10
+
11
+
It is likely because you are building a shaded jar with all dependencies and the ´META-INF/services` entry for
12
+
the R2DBC driver for the database you are using got lost.
13
+
14
+
If using maven shading plugin, make sure to use the [ServicesResourceTransformer](https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html#ServicesResourceTransformer).
15
+
16
+
For other build tools, make sure the tool merges `META-INF/services/io.r2dbc.spi.ConnectionFactoryProvider`
17
+
files rather than dropping one when there is a conflict.
0 commit comments