If you are using Spring Cloud Config and getting -org.springframework.beans.factory.BeanCreationException: Error creating bean with name '***Controller': Injection of autowired dependencies failed
try checking the spring.application.name property in yml/properties file of your application. The name of the application should be in double quotes ("") . This resolved my exception.