lxil520 commented on issue #13672:
URL: https://github.com/apache/dubbo/issues/13672#issuecomment-1914177144

   > > > 您是否在同一流程中导出了服务?
   > > 
   > > 
   > > 
是的,完全在同一个代码中,我用的springboot3.0,然后消费者服务引入rpc的api定义和生产者服务本身,在原来springboot2.7.x和dubbo2.7.22的时候一直使用的好好的,因为项目原因现在计划升级到了springboot3.0发现dubbo必须升级3.0才支持,但是升级之后在jvm的方式完全不能使用了,我们的管理后台使用的是都是内部人员,所以采用injvm协议,而openapi走的注册中心方式
   > 
   > Please try on 3.2.10. If there is still error, pls submit a demo.
   
   您好!根据要求我重新创建了一个新的项目,并完整复现了这个问题
   复现过程
   
   初始化项目并跟我的实际工程保持一致springboot 3.0.2, springCloud 2022.0.0, springCloudAlibaba 
2022.0.0.0, dubbo 3.2.10
   简单创建三个模块:消费模块,微服务定义模块,生产模块
   简单写一个api demo发现injvm能正常访问
   
加入实际项目的shiro模块,之前的逻辑是在shiro的shiroFilterFactoryBean的时候把系统所有的权限加载给shiro,此时就报错了,完整复现了我提到的问题找不到生产者
   demo地址在下面,直接运行demo-consumer模块下面的Main类就可以复现:
   https://github.com/lxil520/dubbo-injvm-demo
   
   谢谢


-- 
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