“采坑”错误集锦
1、service层
错误描述:2019-04-14 22:09:52.027 ERROR 8416 --- [nio-8082-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.wechat.springbootleaving.dao.AreaDao.queryArea] with root cause
解决:
service层必须和serviceImpl层放在同一个包下
2、数据库连接池
问题描述:
{"success":false,"errMsg":"Handler dispatch failed; nested exception is java.lang.AbstractMethodError: Method com/mchange/v2/c3p0/impl/NewProxyResultSet.isClosed()Z is abstract"}
解决:
3、扫描不到controller
问题描述&#x