2020
11-25
11-25
SpringBoot项目中遇到的BUG问题及解决方法
1.启动项目的时候报错1.ErrorstartingApplicationContext.Todisplaytheauto-configurationreportre-runyourapplicationwith'debug'enabled.解决方法:在yml配置文件中加入debug:true,因为默认的话是false2.在集成mybatis时mapper包中的类没被扫描org.springframework.beans.factory.NoSuchBeanDefinitionException:Noqualifyingbeanoftype'com.app.mapper.UserMapper'available:expectedatleast1beanwhi...
继续阅读 >