- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of
this repository and believe that this is not a duplicate.
- [ ] I have checked the
[FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository
and believe that this is not a duplicate.
### Environment
* Dubbo version: 2.7.5
* Operating System version: macos 10.15.13
* Java version: 1.8
### Steps to reproduce this issue
1. Spring boot 1.5.2 ,when update dubbo 2.5.3 to 2.7.5 ,I have some problems
2. run spring boot , and dubbo config is `<dubbo:reference
interface="com.xxx.xxx.service.ITaskService" version="${dubbo.api.version}"
id="taskService"
cluster="failfast"></dubbo:reference>`
3. application.properties config is dubbo.api.version=1.2.0_dev
### Actual Result
run error
the exception trace:
```
Caused by: java.lang.IllegalStateException: Invalid
version="${dubbo.api.version}" contains illegal character, only digit, letter,
'-', '_' or '.' is legal.
at
org.apache.dubbo.config.utils.ConfigValidationUtils.checkProperty(ConfigValidationUtils.java:593)
at
org.apache.dubbo.config.utils.ConfigValidationUtils.checkKey(ConfigValidationUtils.java:559)
at
org.apache.dubbo.config.utils.ConfigValidationUtils.validateReferenceConfig(ConfigValidationUtils.java:340)
at
org.apache.dubbo.config.ReferenceConfig.checkAndUpdateSubConfigs(ReferenceConfig.java:401)
at
org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:186)
at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:151)
at
org.apache.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:68)
at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
... 64 common frames omitted
```
[ Full content available at: https://github.com/apache/dubbo/issues/5755 ]
This message was relayed via gitbox.apache.org for
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]