为了账号安全,请及时绑定邮箱和手机立即绑定

异常。。。。。

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)

正在回答

3 回答

我也遇到了和你一样的问题,也是这个错误

0 回复 有任何疑惑可以回复我~

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})})

3 回复 有任何疑惑可以回复我~

原来是connection类的包导错了。应该导com.sql.Connection

4 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

异常。。。。。

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号