tf2021go commented on issue #13338:
URL: https://github.com/apache/dubbo/issues/13338#issuecomment-1812082830

   多谢关注!
   直接降级dubbo的版本,我本地会报错,找不到这个类 InstantiationAwareBeanPostProcessorAdapter。
   报错的原因是,dubbo3.1.4里面引用的是spring版本是5.2.20(这个版本的spring 
beans里面有上面这个类),我在Provider和Consumer工程里面把这个依赖排除掉了,单独引用的6.0.12(这个版本里面没有上面这个类)。实际上这个工程把spring和dubbo的版本都降下来(dubbo2),是不报错的。
   之所以要单独在Provider和Consumer里面引用spring 6.0.12,对应的spring 
boot版本是3.1.14,主要是这个版本开始支持jdk21。并且dubbo 
3.2.7开始支持jdk21。我的目的是让spring和dubbo同时支持jdk21,保证整个项目能升级到jdk21。
   
   > use dubbo version 3.1.7, will be ok 
![WechatIMG24553](https://user-images.githubusercontent.com/30964063/283025557-342fd647-c29e-443d-8350-e7ab98f1f63b.png)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to