Description:Field restfulAPIService in com.pingan.mario.web.ReportController required a bean of type 'com.pingan.mario.service.RestfulAPIService' that could not be found.Action:
Consider defining a bean of type 'com.pingan.mario.service.RestfulAPIService' in your configuration.
因为没写实现类,所以这个接口报错。
但看到网上spring cloud feign 都是直接写在interface里直接调用这是在controller层的调用
Consider defining a bean of type 'com.pingan.mario.service.RestfulAPIService' in your configuration.
因为没写实现类,所以这个接口报错。
但看到网上spring cloud feign 都是直接写在interface里直接调用这是在controller层的调用
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货