run demo error for com.alibaba.spring.cloud.fescar.config.FescarAutoConfiguration required a bean of type 'org.springframework.web.client.RestTemplate' that could not be found
Closed this issue · 1 comments
xieyeming commented
FescarAutoConfiguration class addFescarInterceptor error.
Parameter 0 of method addFescarInterceptor in com.alibaba.spring.cloud.fescar.config.FescarAutoConfiguration required a bean of type 'org.springframework.web.client.RestTemplate' that could not be found.
XCXCXCXCX commented
You can avoid this error by injecting the restTemplate yourself, or using the latest code, I have fixed this problem.