Re: [I] BeanNotOfRequiredTypeException when using spring bean injection [dubbo]

2024-04-09 Thread via GitHub
huogithub commented on issue #12637: URL: https://github.com/apache/dubbo/issues/12637#issuecomment-2044274537 对比了下2.7.X与3.X org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor#registerReferenceBean 实现 同一JVM针对一个接口既是服务提供者又是消费者处理不一样

Re: [I] BeanNotOfRequiredTypeException when using spring bean injection [dubbo]

2024-03-28 Thread via GitHub
JerryOops commented on issue #12637: URL: https://github.com/apache/dubbo/issues/12637#issuecomment-2025623171 ### Experiment To try and find a way to fix this issue, I did an experiment. In the following code, the two fields have difference classes but same field names, and they both

Re: [I] BeanNotOfRequiredTypeException when using spring bean injection [dubbo]

2024-03-28 Thread via GitHub
JerryOops commented on issue #12637: URL: https://github.com/apache/dubbo/issues/12637#issuecomment-2025546327 I think I have found what went wrong after finishing several breakpoint tests. Currently, dubbo will register the instance (of the field that is annotated with @DubboReference)

Re: [I] BeanNotOfRequiredTypeException when using spring bean injection [dubbo]

2024-03-28 Thread via GitHub
JerryOops commented on issue #12637: URL: https://github.com/apache/dubbo/issues/12637#issuecomment-2025496477 @AlbumenJ Hi, I have reproduced this bug in both Dubbo 3.2.2 & 3.2.3, so I'm guessing it's still pending to be fixed. If so, I am interested in solving this issue, please assign

Re: [I] BeanNotOfRequiredTypeException when using spring bean injection [dubbo]

2024-03-28 Thread via GitHub
JerryOops commented on issue #12637: URL: https://github.com/apache/dubbo/issues/12637#issuecomment-2025162285 @AlbumenJ Is this issue solved or still pending resolution? I have successfully reproduced the reported bug in both 3.2.2 and 3.2.3. If the issue's still open, I am interested in