Error creating bean with name 'XXX' defined in file

严重: StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘cartController’ defined in file [C:\pinyougou\pinyougou-parent\pinyougou-cart-web\target\classes\com\pinyougou\cart\controller\CartController.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Failed to init remote service reference at filed cartService in class com.pinyougou.cart.controller.CartController; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.pinyougou.cart.service.CartService. No provider available for the service com.pinyougou.cart.service.CartService from the url zookeeper://192.168.25.130:2181/com.alibaba.dubbo.registry.RegistryService?application=pinyougou-cart-web&dubbo=2.8.4&interface=com.pinyougou.cart.service

原因:根据阅读报错信息可知没有识别到service层的服务提供者 查看配置文件发现是包扫描没写对


你可能感兴趣的:(DEBUG)