Skip to content

Fix: avoid PropertyResolver bean ambiguity with Sentinel#823

Open
98001yash wants to merge 1 commit intoapache:masterfrom
98001yash:fix-sentinel-duplicate-bean
Open

Fix: avoid PropertyResolver bean ambiguity with Sentinel#823
98001yash wants to merge 1 commit intoapache:masterfrom
98001yash:fix-sentinel-duplicate-bean

Conversation

@98001yash
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parameter 2 of method sentinelDataSourceHandler in com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration required a single bean, but 2 were found

1 participant