異常。。。。。
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)
2019-02-22
我也遇到了和你一樣的問題,也是這個錯誤
2017-05-06
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})})
2017-03-17
原來是connection類的包導錯了。應該導com.sql.Connection