-
Notifications
You must be signed in to change notification settings - Fork 40.2k
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
SpringBoot3.0.3 appears that the test cannot be used #34364
Comments
|
Thanks for the report. Unfortunately, the sample does not reproduce the problem:
|
|
I think this is another symptom of the suspected regression in Spring Framework that's been identified in #34379. @livk-cloud, if I am right, you can avoid the problem by not having any spaces in your application's path. |
|
In SpringBoot3.0.3, it is mandatory to specify the Main class for the test.
java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test
This error occurred when I upgraded from 3.0.2 to 3.0.3. In 3.0.2, there was no such problem
In the update log, I did not get the place where the test has changed
example
The text was updated successfully, but these errors were encountered: