Closed 807893362 closed 10 months ago
Whether the data is stored by zk : { "name": "personal", "id": "192.168.48.116:20894", "address": "192.168.48.116", "port": 20894, "sslPort": null, "payload": { "@class": "org.apache.dubbo.registry.zookeeper.ZookeeperInstance", "id": "192.168.48.116:20894", "name": "personal", "metadata": { "dubbo.endpoints": "[{\"port\":20894,\"protocol\":\"dubbo\"}]", "dubbo.metadata-service.url-params": "{\"connections\":\"1\",\"timeout\":\"3000\",\"version\":\"1.0.0\",\"dubbo\":\"2.0.2\",\"release\":\"3.1.1\",\"side\":\"provider\",\"port\":\"20894\",\"protocol\":\"dubbo\"}", "dubbo.metadata.revision": "0731e777180100cc397f202ae44f0f94", "dubbo.metadata.storage-type": "local", "timestamp": "1693304551698" } }, "registrationTimeUTC": 1693304551898, "serviceType": "DYNAMIC", "uriSpec": null }
I've reproduced this issue, and it seems to be due to Hessian itself being incompatible with JDK 17. I believe we can try using fastjson2 for serialization.
Add --add-open
to let module java.base "opens java.math" to unnamed module
@AlbumenJ 请问除了--add-open没有更优雅的方式,这个应该是JDK升级导致的不兼容吧
Environment
Steps to reproduce this issue
Pls. provide [GitHub address] to reproduce this issue.
Expected Behavior
Actual Behavior
If there is an exception, please attach the exception trace: