Java SDK 3: ConfigException when used together with spring boot devtools

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.

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 the Couchbase Java SDK interfere with each other.

Hi - I commented on your ConfigException when used together with spring boot devtools · Issue #1567 · spring-projects/spring-data-couchbase · GitHub
It’s a warning message and can be ignored.

  • Mike