-
Notifications
You must be signed in to change notification settings - Fork 41k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find a @SpringBootConfiguration results in misleading error message #43357
Comments
This is the expected behavior. In both
If you use |
Reopening due to #43358 (comment) |
Exception is raised if the test is not located in the same or sub package of
@SpringBootApplication
main class, even if I use@ContextConfiguration
or@SpringBootTest(classes=...)
according to the suggestion in exception message.the reproducer project configuration-class-not-found.zip
The text was updated successfully, but these errors were encountered: