New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caused by: java.net.UnknownHostException: ${dubbo.registry.address.id} dubbo的xml占位符解析失败 dubbo从2.6.2升级到2.7.3出现 #4835
Comments
这个问题我在dubbo-spring-boot-project里提了个pr |
同样发现这个问题了 现在有解决方案吗? |
我看到了这个pr 不过这个pr审核没通过么?说明2.7.3目前确实存在这个问题是么? |
ci passed |
@fengjianjun1 你再试下,之前那个有点问题,我后来修改过了 |
我也遇到这个问题,临时用apollo外部配置覆盖dubbo config |
Try it with the latest version, if you still have problems, you can reopen the issues |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dubbo 从2.6.2 升级到2.7.3之后,出现问题,dubbo的xml中占位符配置的数据无法解析,被认定为字符串
application.yml 中配置 dubbo.registry.address.id: zookeeper://127.0.0.1:2181
@SpringBootApplication
@EnableDubbo
@ImportResource("classpath:consumer.xml")
public class Application
consumer.xml 中配置 <dubbo:registry address="${dubbo.registry.address.id}" default="false" id="idserver" />
怀疑是spring 的初始化尚未结束,dubbo就开始读取配置文件中的信息,导致占位符失效
The text was updated successfully, but these errors were encountered: