欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

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

最编程 2024-04-02 17:46:48
...

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

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

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

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

 2.检查@autowired

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