@王疏蔬 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of @Reference dependencies is failed; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.bi.cloud.service.UserService. No provider available for the service com.bi.cloud.service.UserService from the url spring-cloud://192.168.221.37:9090/org.apache.dubbo.registry.RegistryService?application=bi-cloud-gateway&dubbo=2.0.2&init=false&interface=com.bi.cloud.service.UserService&methods=userInfo&pid=2880&qos.enable=false®ister.ip=192.168.221.37&release=2.7.6&side=consumer&sticky=false×tamp=1655708026851 to the consumer 192.168.221.37 use dubbo version 2.7.6
同樣是找不到userService的問題 我也加了@Service注解
微服務(wù) Spring Cloud Alibaba 項(xiàng)目搭建(五、gateway 網(wǎng)關(guān)子模塊創(chuàng)建)一、項(xiàng)目 - New - Module 二、選擇Maven - jdk- Next 三、修改Name為gateway - 查看GroupId是否正確 - Finish 四、修...