SpringBoot Unable to find a @SpringBootConfiguration, you need to use
meven打包的时候遇到的问题;解决
是因为工程里面有测试,
这里的@SpringBootTest注解没有加上 (classes = Application.class)
加上就可以正常打包了
SpringBoot Unable to find a @SpringBootConfiguration, you need to use
meven打包的时候遇到的问题;解决
是因为工程里面有测试,
这里的@SpringBootTest注解没有加上 (classes = Application.class)
加上就可以正常打包了