SpringBoot Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration

Posted 子璟

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SpringBoot Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration相关的知识,希望对你有一定的参考价值。

SpringBoot 的 Text类所在的包和SpringBoot 的 App启动类所在的包不在一起

以上是关于SpringBoot Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration的主要内容,如果未能解决你的问题,请参考以下文章

repackage failed: Unable to find main class

Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest

java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @Context

error: Unable to find vcvarsall.bat

解决OutOfMemoryError: unable to create new native thread

Unable to find a @SpringBootConfiguration