异常描述
***************************
APPLICATION FAILED TO START
***************************
Description:
Field clientAuthService in com.yinhai.mzgh.eurekaclient.feign.interceptor.Oauth2RequestInterceptor
required a bean of type 'com.yinhai.mzgh.eurekaclient.feign.service.ClientAuthService' that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type 'com.yinhai.mzgh.eurekaclient.feign.service.ClientAuthService' in your configuration.
问题原因
这个问题是环境问题,在Profiles 中之前是dev 环境
我刚来,猜测是 dev环境没有搭建好的原因