Comments (2)
@Jiiiiiin rpc-sofa-boot-starter 设计初衷还是希望开箱即用,不需要用户关心具体 sofa-rpc-all 版本,统一有 SOFABoot 管理,starter版本和 SOFABoot 版本一致就会保证兼容性。SOFABoot 3.x 版本 中 SOFARPC 版本升级应该是遗漏了,目前可以直接升级下最新版本,这个我去提下。SOFABoot 4.x 版本中 SOFARPC 版本已经是最新版了 当前 SOFARPC 最新版本 nacas 版本已经是 2.x 系列了,会定期去更新社区的最新稳定版本,有兴趣的话也可以提交 PR 过来升级版本。
from sofa-rpc.
@EvenLjj 好的老师,等把手上项目交付,计划是要参与sofa项目,先从阅读相关代码开始吧。您的回复针对这种“多模块、团队”项目如何进行聚合依赖管理的思路,谢谢。
上面这个是测试升级到最新的 sofa-rpc-all 测试的结果是通过(通过排除rpc-sofa-boot-starter中的sofa-rpc-all依赖,手动指定依赖);
但是另外因为我们nacos-server升级到2.2.3,想着配套的 nacos-client 也升级到对应版本,但是实测是不行,会爆出如下错误,当然近期sofa-boot 4.x(包括生态升级列表中,我看到nacos-client标注的也仅仅是2.0.3 https://zhuanlan.zhihu.com/p/647221821)难道2.2.x这个版本其中存在什么特殊差异吗?老师
2023-09-13 22:27:02,572 ERROR [] [,,] [,,,,] [main] o.s.b.d.LoggingFailureAnalysisReporter:40
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
com.alibaba.nacos.spring.context.properties.config.NacosConfigurationPropertiesBinder.bind(NacosConfigurationPropertiesBinder.java:106)
The following method did not exist:
com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties.yaml()Z
The calling method's class, com.alibaba.nacos.spring.context.properties.config.NacosConfigurationPropertiesBinder, was loaded from the following location:
jar:file:/Users/xiaobai/.m2/repository/com/alibaba/nacos/nacos-spring-context/1.1.1/nacos-spring-context-1.1.1.jar!/com/alibaba/nacos/spring/context/properties/config/NacosConfigurationPropertiesBinder.class
The called method's class, com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties, is available from the following locations:
jar:file:/Users/xiaobai/.m2/repository/com/alibaba/nacos/nacos-client/2.2.3/nacos-client-2.2.3.jar!/com/alibaba/nacos/api/config/annotation/NacosConfigurationProperties.class
The called method's class hierarchy was loaded from the following locations:
com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties: file:/Users/xiaobai/.m2/repository/com/alibaba/nacos/nacos-client/2.2.3/nacos-client-2.2.3.jar
Action:
Correct the classpath of your application so that it contains compatible versions of the classes com.alibaba.nacos.spring.context.properties.config.NacosConfigurationPropertiesBinder and com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties
2023-09-13 22:27:02,573 WARN [] [,,] [,,,,] [Thread-10] c.a.n.c.n.NotifyCenter:136 [NotifyCenter] Start destroying Publisher
2023-09-13 22:27:02,573 WARN [] [,,] [,,,,] [Thread-10] c.a.n.c.n.NotifyCenter:153 [NotifyCenter] Destruction of the end
2023-09-13 22:27:02,573 WARN [] [,,] [,,,,] [Thread-5] c.a.n.c.h.HttpClientBeanHolder:102 [HttpClientBeanHolder] Start destroying common HttpClient
2023-09-13 22:27:02,574 WARN [] [,,] [,,,,] [Thread-5] c.a.n.c.h.HttpClientBeanHolder:111 [HttpClientBeanHolder] Destruction of the end
当然貌似是因为nacos-config导致无法启动。 老师也没有什么思路?目前nacos-config相关starter为最新,当然不调整nacos-client是没有问题的,这个好像和sofa无关,我要去隔壁反馈是吧 哈哈。
是不是因为非纯净版本导致的一些“后遗症” > https://nacos.io/zh-cn/docs/v2/guide/user/sdk.html 等项目不忙我在找找原因吧
from sofa-rpc.
Related Issues (20)
- The management of thread pools in sofarpc under high concurrency requests. HOT 5
- Framework Design Optimization Proposal HOT 7
- com.alipay.remoting.DefaultConnectionManager.scan throws NPE HOT 7
- SOFARPC 支持 Stream 流式处理方式 HOT 7
- SOFARPC 支持 Fury 序列化方式 HOT 4
- Provide experimental io_uring support HOT 4
- 什么情况下DefaultConnectionManager.getConnectionPoolAndCreateIfAbsent方法会阻塞? HOT 3
- Support custom exception retry HOT 1
- ExtensionLoader override logic optimization HOT 2
- Tracer Statistics Optimization HOT 5
- Add theadpool extension HOT 3
- RPC-020020009问题
- The Rest protocol cannot be used in Jakarta EE 10. HOT 1
- Alipay Cloud Devops Codescan run failed HOT 1
- Nacos+SofaRpc 更新订阅端监听器 并发疑问 HOT 3
- Javassist does not handle interface duplication method correctly HOT 3
- 【Proposal】支持更丰富的压缩算法方便用户在不同的场景选择 HOT 2
- 项目启动提示:WARN | | io.fury.config.FuryBuilder | Class registration isn't forced, unknown classes can be deserialized. If the environment isn't secure, please enable class registration by `FuryBuilder#requireClassRegistration(true)` or configure ClassChecker by `ClassResolver#setClassChecker` HOT 2
- rpc 调用超时没有丢弃reponse HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sofa-rpc.