1.
Handler processing failed; nested exception is java.lang.NoSuchMethodError
找不到这个方法,后面给出相应方法路径
解决办法:
1.检查调用的路径是否正确
2.是不是存在同名文件,有可能查找到另一个文件里,而这个文件里没有对应的方法
3.上面都没问题的话,重启环境吧(我的就是这么解决的)
2.修改XML文件不生效
解决办法:emmmm修改之后记得重启环境
3.org.springframework.beans.factory.BeanCreationException: Could not autowire field
没有在注册中心暴露和使用服务
解决办法:在注册中心暴露和使用服务,重启环境
4.Failed to invoke the method [......] in the service
参考:http://blog.csdn.net/wjb_2016/article/details/51084916
5.org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
先检查Mapper.xml中是否有与报错方法对应的查询语句
如果没有,参考 :http://blog.csdn.net/u010504064/article/details/47337307
6.JDBC requires that the JdbcType must be specified for all nullable parameters.
1.SQL语句有问题,检查一下判断部分
2.有可能是在dao层的方法没有正确映射到相关的Mapper.xml里的 sql 块