dubbo
dubbo copied to clipboard
Dubbo 2.6.3 server starts after showing 2.0.2
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
- [ ] I have checked the FAQ of this repository and believe that this is not a duplicate.
Environment
- Dubbo version: 2.6.3
- Operating System version: windows
- Java version: 1.8
Steps to reproduce this issue
- incubator-dubbo-dubbo-2.6.3\dubbo-demo\dubbo-demo-provider
after run this main
Pls. provide [GitHub address] to reproduce this issue.
Expected Result
dubbo=2.6.3
Actual Result

@llx206 2.0.2 is the version of dubbo protocol, 2.6.3 is the version of maven jar.
@diecui1202 ,why in the 2.6.2, this show

May I ask if the meaning of the fields 2.6.2 and 2.6.3 has changed?
@llx206
Here is dubbo-2.6.2 code :
private void doExportUrlsFor1Protocol(ProtocolConfig protocolConfig, List<URL> registryURLs) {
...
map.put(Constants.DUBBO_VERSION_KEY, Version.getVersion());
...
Here is dubbo-2.6.3 code :
private void doExportUrlsFor1Protocol(ProtocolConfig protocolConfig, List<URL> registryURLs) {
...
map.put(Constants.DUBBO_VERSION_KEY, Version.getProtocolVersion());
...
duplicate of https://github.com/apache/incubator-dubbo/issues/2542