Spring Boot - Spring Annotations
You have two beans annotated with
@Profile("test") and @Profile("prod") respectively. When running the app with no active profile set, you get a NoSuchBeanDefinitionException. What is the most likely cause?