SpringBoot Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration
SpringBoot Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration
今天在写junit测试的时候莫名其妙报这个错,
经过排查是因为你在test包下,和你java代码的包路径不一致所造成的.
一起交流进步.扫描下方QQ二维码即可