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