Closed
Description
Originally created spring-projects/spring-boot#34209 but was instructed to create a new issue here.
Receiving the following error when using Spring Boot 3.0.2 and spring-boot-starter-data-couchbase:
The bean 'transactionInterceptor', defined in class path resource [org/springframework/transaction/annotation/ProxyTransactionManagementConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [com/example/demo/CouchbaseConfig.class] and overriding is disabled.
To recreate:
- go to start.spring.io and create a new Spring Boot 3.0.2 project with the couchbase starter dependency
- Create a configuration class extending AbstractCouchbaseConfiguration
public CouchbaseConfig extends AbstractCouchbaseConfiguration {
// override required methods
}
3, Try and start the application ./gradlew bootRun
Is there something I'm missing with Spring Boot 3.0.2 and Couchbase starter?