Description
In a Spring Boot application (Spring Boot 2.7.3) using both spring-boot-starter-couchbase and spring-boot-starter-devtools during application startup this exception happens:
com.couchbase.client.core.error.ConfigException: Could not locate a single global configuration
The application runs fine nevertheless and is passing all tests.
[ Edit: later discovered it was not related to devtools ]
However, if I boot the application with devtools disabled (spring.devtools.add-properties=false), the exception does not happen. So it looks like spring devtools and spring boot data couchbase interfere with each other.
This is with a dockerized couchbase cluster setup and a connection string contacting each node via localhost on different management ports. This is the connection string:
spring.couchbase.connection-string=couchbase://127.0.0.1?io.networkResolution=external&timeout.kvTimeout=10s,\
couchbase://127.0.0.1:11210?io.networkResolution=external&timeout.kvTimeout=10s,\
couchbase://127.0.0.1:12210?io.networkResolution=external&timeout.kvTimeout=10s