Questions
Q:

Could not autowire. No beans of ‘RestTemplate’ type found.

when i autowired restTemplate inside the service class, show this error,

Could not autowire. No beans of 'RestTemplate' type found.