Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception

2022-11-13 11:09:21 浏览数 (1)

在进行springboot和mybatis遇到了这个错误

Servlet.service() for servlet [dispatcherServlet] in context with path [] th

解决点:仔细检查配置是不是正确

1.主程序有没有扫描到包

 2.检查@autowired

3.接口检查:有没有标注上@service和@Mapper

0 人点赞