Spring unabled to find @SpringBootConfiguration when building the project

Viewed 28

My code runs properly in local but when i try to build to export it I get this error : java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test

I already done a build of this project in the past and it worked, someone can explain me why I'm getting this error now, and how can i solve it

0 Answers
Related