You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
Invalid bean definition with name 'dubboConfigConfiguration.Single' defined in null: Cannot register bean definition appears when loading biz module in samples/dubbo-samples/rpc/dubbo26
#466
Closed
ToviHe opened this issue
Jan 12, 2024
· 0 comments
When running the dubbo26 sample program, it was found that the Invalid bean definition with name 'dubboConfigConfiguration.Single' defined in null: Cannot register bean definition error occurred during the installBiz stage.
It looks like the spring.main.allow-bean-definition-overriding=true configuration has been added in dubbo26base and the two biz modules are missing.
See apache/dubbo-spring-boot-project#476 and apache/dubbo#3193
Expected behavior
successfully installed biz
Actual behavior
Invalid bean definition with name 'dubboConfigConfiguration.Single' defined in null: Cannot register bean definition
Invalid bean definition with name 'dubboConfigConfiguration.Single' defined in null: Cannot register bean definition appears when installing biz module
Screenshots
Minimal yet complete reproducer code (or GitHub URL to code)
Environment
SOFAServerless version (see CURRENT_VERSION.txt):0.3
SOFAArk version:2.2.6
JVM version (e.g. java -version):1.8
OS version (e.g. uname -a):23.3.0 Darwin arm64
Kubernetes version:1.27.2
The text was updated successfully, but these errors were encountered:
Describe the question or bug
When running the dubbo26 sample program, it was found that the Invalid bean definition with name 'dubboConfigConfiguration.Single' defined in null: Cannot register bean definition error occurred during the installBiz stage.
It looks like the spring.main.allow-bean-definition-overriding=true configuration has been added in dubbo26base and the two biz modules are missing.
See apache/dubbo-spring-boot-project#476 and apache/dubbo#3193
Expected behavior
successfully installed biz
Actual behavior
Invalid bean definition with name 'dubboConfigConfiguration.Single' defined in null: Cannot register bean definition
Steps to reproduce
Steps to reproduce the problem:
1.cd samples/dubbo-samples/rpc/dubbo26/dubbo26model
mvn clean install
2.cd ../
mvn clean package
Start Dubbo26BaseApplication.java
Invalid bean definition with name 'dubboConfigConfiguration.Single' defined in null: Cannot register bean definition appears when installing biz module
Screenshots
Minimal yet complete reproducer code (or GitHub URL to code)
Environment
java -version
):1.8uname -a
):23.3.0 Darwin arm64The text was updated successfully, but these errors were encountered: