
常见Java面试题
整理常见的java面试题
逆光小新
这个作者很懒,什么都没留下…
展开
-
解决SpringBoot无法注入service的原因之一TestController required a bean of type 'com.yifeng.study.service报错
解决SpringBoot无法注入service的原因之一TestController required a bean of type ‘com.yifeng.study.service.UserService’ that could not be found.报错问题描述原因主启动类与被扫描的文件夹不在同一路径下,所以扫描不到。解决办法我在这里多了一层web,将主启动类放入stud...原创 2020-04-01 16:17:47 · 9564 阅读 · 0 评论 -
解决SpringBoot中 No qualifying bean of type 'com.yifeng.study.dao.UserMapper' available:...报错
解决SpringBoot中 No qualifying bean of type ‘com.yifeng.study.dao.UserMapper’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.bean...原创 2020-04-01 15:44:28 · 11824 阅读 · 0 评论