摘要: 在某个springboot项目用junit做单元测试时,调用启动类时总是报nosuchbeandefinition错误,查看日志发现是rpc-client.xml文件中的dubbo引用类未注入spring容器,怀疑是rpc-client.xml文件未被识别。一开始以为是配置@ImportResour 阅读全文
posted @ 2022-03-02 22:49 thePacer 阅读(347) 评论(0) 推荐(0) 编辑