Skip to content

Instantly share code, notes, and snippets.

@SiAust
Created May 6, 2021 09:09
Show Gist options
  • Save SiAust/e59200242cefc8ed6b40789081e0a584 to your computer and use it in GitHub Desktop.
Save SiAust/e59200242cefc8ed6b40789081e0a584 to your computer and use it in GitHub Desktop.
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.example.web_quiz_app.WebQuizAppApplication];
nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException:
Annotation-specified bean name 'securityConfig' for bean class [com.example.web_quiz_app.Security.SecurityConfig]
conflicts with existing, non-compatible bean definition of same name and class [io.github.siaust.web_quiz_app.Config.SecurityConfig]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:188) ~[spring-context-5.2.7.RELEASE.jar:5.2.7.RELEASE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment