ConsulAutoConfiguration.consulRawClientBuilderSupplier conflict with JPA
Fixes
@@ -56,7 +56,7 @@ public class ConsulAutoConfiguration {
}
@Bean
- @ConditionalOnMissingBean
+ @ConditionalOnMissingBean(value = ConsulRawClient.Builder.class, parameterizedContainer = Supplier.class)
public Supplier<ConsulRawClient.Builder> consulRawClientBuilderSupplier() {
return createConsulRawClientBuilder();
}
