洋妞honey
2017-03-17 09:46
Caused by: org.apache.ibatis.plugin.PluginException: Could not find method on interface org.apache.ibatis.executor.statement.StatementHandler named prepare. Cause: java.lang.NoSuchMethodException: org.apache.ibatis.executor.statement.StatementHandler.prepare(com.mysql.jdbc.Connection, java.lang.Integer)
at org.apache.ibatis.plugin.Plugin.getSignatureMap(Plugin.java:85)
我也遇到了和你一样的问题,也是这个错误
NoSuchMethodException:org.apache.ibatis.executor.statement.StatementHandler.prepare(com.mysql.jdbc.Connection, java.lang.Integer)
StatementHandler这个接口里面现在是两个参数了,@Intercepts({@Signature(type = StatementHandler.class,method = "prepare", args = {Connection.class, Integer.class})})
原来是connection类的包导错了。应该导com.sql.Connection
通过自动回复机器人学Mybatis---加强版
53664 学习 · 112 问题
相似问题