摘要: 今天在重启springboot时候一直报如上的代码,但是也没有具体的报错信息。很是郁闷。 最后发现有两个:一个是使用@ComponentScan的问题,一个是@MapperScan的问题。@MapperScan 默认是当前目录,我的目录和我引用的dao的目录不同导致的。 2.@Autowire和@R 阅读全文
posted @ 2023-04-24 22:45 Doyourself! 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 2023-04-24 18:50:39.372 WARN 26732 [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling 阅读全文
posted @ 2023-04-24 18:58 Doyourself! 阅读(744) 评论(0) 推荐(0) 编辑