異常。。。。。
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
我也遇到了和你一樣的問(wèn)題,也是這個(gè)錯(cuò)誤
2017-05-06
NoSuchMethodException:org.apache.ibatis.executor.statement.StatementHandler.prepare(com.mysql.jdbc.Connection, java.lang.Integer)
StatementHandler這個(gè)接口里面現(xiàn)在是兩個(gè)參數(shù)了,@Intercepts({@Signature(type = StatementHandler.class,method = "prepare", args = {Connection.class, Integer.class})})
2017-03-17
原來(lái)是connection類的包導(dǎo)錯(cuò)了。應(yīng)該導(dǎo)com.sql.Connection