dubbo-spring-boot-project icon indicating copy to clipboard operation
dubbo-spring-boot-project copied to clipboard

Fix: avoid PropertyResolver bean ambiguity with Sentinel

Open yashdotdev13 opened this issue 10 months ago • 0 comments

This PR fixes an application startup failure caused by multiple PropertyResolver beans being present when Dubbo is used together with Sentinel.

The Dubbo auto-configuration previously exposed a generic PropertyResolver bean, which conflicted with Spring's Environment. This change narrows the exposed bean type to DubboScanBasePackagesPropertyResolver, eliminating ambiguity and aligning with Spring Boot auto-configuration best practices.

Fixes #727

yashdotdev13 avatar Jan 24 '26 08:01 yashdotdev13