原文: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代码的包路径不一致所造成的. ...

2019-06-14 14:21 0 1601 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM