apache / apache/dubbo

spring-boot @ImportResource AbstractConfig#addIntoConfigManager 不执行

Open
#6,101 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

### Environment

* Dubbo version: 2.7.6
* spring-boot version: 2.2.6.RELEASE
* Java version: 1.8

当使用上述环境时,@ImportResource(value = "classpath:config/dubbo-consumer.xml")

会抛出异常:
No application config found or it's not a valid config! Please add to your spring config.

经debug 发现org.apache.dubbo.config.AbstractConfig#addIntoConfigManager 并不会执行

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.