Caused by: org.apache.ibatis.plugin.PluginException: Could not find method on interface org.apache.ibatis.executor.Executor named close. Cause: java.lang.NoSuchMethodException: org.apache.ibatis.executor.Executor.close() at org.apache.ibatis.plugin.Plugin.getSignatureMap(Plugin.java:84) at org.apache.ibatis.plugin.Plugin.wrap(Plugin.java:45) at com.million.mes.basic.dbapi.config.ConnectionInterceptor.plugin(ConnectionInterceptor.java:30) at org.apache.ibatis.plugin.InterceptorChain.pluginAll(InterceptorChain.java:31) at org.apache.ibatis.session.Configuration.newExecutor(Configuration.java:713) at com.baomidou.mybatisplus.core.MybatisConfiguration.newExecutor(MybatisConfiguration.java:366) at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:96) ... 106 common frames omitted Caused by: java.lang.NoSuchMethodException: org.apache.ibatis.executor.Executor.close() at java.lang.Class.getMethod(Class.java:1786) at org.apache.ibatis.plugin.Plugin.getSignatureMap(Plugin.java:81) ... 112 common frames omitted
时间: 2023-10-03 13:02:32 浏览: 286
Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.Transformer异常
5星 · 资源好评率100%
根据你提供的信息,这似乎是一个MyBatis插件的错误,插件试图调用一个名为"close"的方法,但在org.apache.ibatis.executor.Executor接口中找不到该方法。这可能是因为MyBatis版本与插件不兼容,或者插件中的代码有问题。建议检查插件代码和MyBatis版本,看是否需要升级或修改插件代码。
阅读全文