Skip to content
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

xml和注解混合配置,系统启动报异常 #4667

Closed
jimiyi opened this issue Jul 25, 2019 · 3 comments
Closed

xml和注解混合配置,系统启动报异常 #4667

jimiyi opened this issue Jul 25, 2019 · 3 comments
Labels
status/waiting-for-feedback Need reporters to triage

Comments

@jimiyi
Copy link

jimiyi commented Jul 25, 2019

#4408 # Environment

  • Dubbo version: 2.7.2
  • Operating System version: win10
  • Java version: 1.8

由于涉及老的系统升级,老的dubbo系统使用了com.alibaba.dubbo.config.annotation.Service的注解,同时还在xml文件中配置了部分dubbo相关的属性,spring boot系统在启动类上增加了@EnableDubbo(scanBasePackages = "XXX"),后启动报错:
Caused by: java.lang.IllegalStateException: Invalid name="org.apache.dubbo.config.ProtocolConfig#0" contains illegal character, only digit, letter, '-', '_' or '.' is legal.

@cvictory
Copy link
Contributor

Can you raise dubbo to 2.7.3? I remember it have been fixed in recently version.

After doing this, if you still have problem, I will check with you.

@beiwei30
Copy link
Member

@jimiyi pls. provide a sample app to reproduce this issue on github. Thanks.

@beiwei30 beiwei30 added the status/waiting-for-feedback Need reporters to triage label Aug 5, 2019
@cvictory
Copy link
Contributor

cvictory commented Sep 4, 2019

duplicate #4657

@cvictory cvictory closed this as completed Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/waiting-for-feedback Need reporters to triage
Projects
None yet
Development

No branches or pull requests

3 participants