解决 A component required a bean of 'XXX.RoleService' that could not be found.
程序员文章站
2022-06-02 22:15:52
...
springboot工程启动报错,无法启动成功。
dubbo订阅服务失败,提示如下:
出错原因:唉,只是忘记了订阅这个服务。
在订阅服务中加上配置就可以了:
<dubbo:reference interface="com.XXX.service.rpc.api.XXXService" id="XXXService" protocol="dubbo" group="xmlConfig" check="false" timeout="5000"/>
上一篇: 灰度比特平面
下一篇: 解决报错 :A component required a bean of type 'gentle.test.Show' that could not be found
推荐阅读
-
A component required a bean of type ‘XXX‘ that could not be found 解决办法
-
解决 A component required a bean of 'XXX.RoleService' that could not be found.
-
解决报错 :A component required a bean of type 'gentle.test.Show' that could not be found
-
解决:A component required a bean of type 'javax.jms.Queue' that could not be found.