This is how my application looks like. I have excluded WebsecurityConfiguration.class from EnablEAutoConfiguration but I keep on getting the above error. If I remove WebsecurityConfiguration.class from exclude my application is not able to get properties from application.yaml. Can you please help me in resolving this issue?
The error is telling you that WebSecurityConfiguration is not an auto-configuration class, but you are excluding it in the @EnableAutoConfiguration section. I would remove the class from EnableAutoConfiguration and filter it with @ComponentScan and ExcludeAnnotationFilter instead.
f448fe82f3