You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The version report to registry is 2.0.1 after dubbo 2.5.9 #1524
I found Implementation-verison and Specification-version in dubbo jar(version:2.6.1 ) is right now.
As @diecui1202 said, We will not change the value in register url. such as : registry://224.5.6.7:1234/com.alibaba.dubbo.registry.RegistryService?application=demo-provider&dubbo=2.0.0&pid=9796&qos.port=22222®istry=multicast×tamp=1523350418885 .
The value dubbo=2.0.0 will be kept.
Activity
ralf0131 commentedon Mar 29, 2018
Hi, welcome!
It will be appreciated that you can provide a simple step to reproduce this issue.
diecui1202 commentedon Mar 29, 2018
I debug the demo in the codebase, and get the following result:
The red rectangle show "dubbo=2.0.0", is this the problem?
lanhuai commentedon Mar 30, 2018
@diecui1202 Yes, this is the problem.
lovepoem commentedon Apr 2, 2018
https://github.com/apache/incubator-dubbo/blob/master/dubbo-common/src/main/java/com/alibaba/dubbo/common/Version.java
Version.java read version from MANIFEST.MF or jar name.
Now you debug in classes generated by IDE, no MANIFEST.MF or jar name found
Must we support the IDEA debug environment?
If so,we can refer this Generate a Version.java file in Maven
xhrg commentedon Apr 2, 2018
1 maven Compile and install "dubbo-common"
2 Closing the “dubbo-common” project in IDE
And then it's going to be good
lanhuai commentedon Apr 10, 2018
This is the problem, dubbo-2.5.10.jar file from maven repository,
Implementation-Versionin MANIFEST.MF is wrong, not IDEA debug environment.cvictory commentedon Apr 10, 2018
I found Implementation-verison and Specification-version in dubbo jar(version:2.6.1 ) is right now.
As @diecui1202 said, We will not change the value in register url. such as : registry://224.5.6.7:1234/com.alibaba.dubbo.registry.RegistryService?application=demo-provider&dubbo=2.0.0&pid=9796&qos.port=22222®istry=multicast×tamp=1523350418885 .
The value
dubbo=2.0.0will be kept.zonghaishang commentedon Apr 11, 2018
@lovepoem
+1, "ide" can read the version correctly is a good suggestion.
lovepoem commentedon Apr 13, 2018
Duplicate of #1466
chickenlj commentedon Apr 25, 2018
Close this one.
Merge pull request #1843, support implicit delivery of attachments fr…
Merge pull request apache#1843, support implicit delivery of attachme…
fix default setting (#4955)