tk.mybatis.mapper.provider.SpecialProvider

原创 2018年04月15日 09:54:03

java.lang.NoSuchMethodException: tk.mybatis.mapper.provider.SpecialProvider.()
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.newInstance(Class.java:412)
at org.apache.ibatis.builder.annotation.ProviderSqlSource.createSqlSource(ProviderSqlSource.java:71)
at org.apache.ibatis.builder.annotation.ProviderSqlSource.getBoundSql(ProviderSqlSource.java:63)
at org.apache.ibatis.mapping.MappedStatement.getBoundSql(MappedStatement.java:278)
at org.apache.ibatis.executor.statement.BaseStatementHandler.(BaseStatementHandler.java:64)
at org.apache.ibatis.executor.statement.PreparedStatementHandler.(PreparedStatementHandler.java:39)
at org.apache.ibatis.executor.statement.RoutingStatementHandler.(RoutingStatementHandler.java:45)
at org.apache.ibatis.session.Configuration.newStatementHandler(Configuration.java:468)
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:46)
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:105)
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
at com.sun.proxy.Proxy101.update(UnknownSource)atorg.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:152)atorg.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:141)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atorg.mybatis.spring.SqlSessionTemplateSqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
at com.sun.proxy.Proxy46.insert(UnknownSource)atorg.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)atorg.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:51)atorg.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52)atcom.sun.proxy.Proxy76.insertList(Unknown Source)
at com.anve.finance.ths.logic.impl.IFundTradeDataLogicImpl.getTradeData(IFundTradeDataLogicImpl.java:95)
at com.anve.finance.ths.service.v_1.IFundTradeDataServiceImpl.getTradeData(IFundTradeDataServiceImpl.java:33)
at com.anve.finance.ths.web.rest.TradeDataController.getTradeData(TradeDataController.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:114)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocolConnectionHandler.process(AbstractProtocol.java:861)atorg.apache.tomcat.util.net.NioEndpointSocketProcessor.doRun(NioEndpoint.java:1455)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutorWorker.run(ThreadPoolExecutor.java:624)atorg.apache.tomcat.util.threads.TaskThreadWrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/fcfwang_net/article/details/79946848

iBatis中java.lang.InstantiationException错误的原因

今天在使用iBatis查询数据的时候出现了如下的一个错误:java.lang.InstantiationException: com.mangocity.contract.ejb.RoomType,从...
  • CMTobby
  • CMTobby
  • 2007-08-09 17:57:00
  • 4172

tk.mybatis.mapper.provider.base.BaseSelectProvider:Caused by: java.lang.InstantiationException:

没想到 “org” 没有 改成“tk” 就会报这个错误
  • lsgqjh
  • lsgqjh
  • 2016-11-25 20:50:46
  • 10423

mybatis通用mapper的使用

项目中持久层封装了两套,一个hibernate,一个是mybatis。hibernate中封装了一些通用的方法,但是mybatis中没有,基于这个需求开始使用mybatis的通用mapper。   ...
  • u013031185
  • u013031185
  • 2016-08-22 11:22:06
  • 25672

java.lang.NoSuchMethodException: tk.mybatis.mapper.provider.base.BaseUpdateProvider.<init>()

   org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderE...
  • lumanxiang
  • lumanxiang
  • 2018-03-22 09:44:25
  • 176

springBoot整合myBatis错误:java.lang.NoSuchMethodException

java.lang.NoSuchMethodException: com.jssz.model.SysStaffdef.(java.math.BigDecimal, java.lang.String,...
  • pp_fzp
  • pp_fzp
  • 2017-07-25 14:41:03
  • 2759

反射异常 java.lang.InstantiationException处理

java.lang.InstantiationException: com.iflysse.helloword.Student at java.lang.Class.newInstance0(Cl...
  • liyancheng984807972
  • liyancheng984807972
  • 2013-08-06 13:08:00
  • 4923

通用mapper与pagehelper插件配置注意!!!

在mybatis的配置文件中,注意把pagehelper插件写在通用mapper前面 否则会报 org.mybatis.spring.MyBatisSystemException: nes...
  • pandajc
  • pandajc
  • 2017-10-09 19:56:29
  • 783

报错 :java.lang.NoSuchMethodException: <init>()

Spring要求init-method是一个无参数的方法,如果init-method指定的方法中有参数,那么Spring将会抛出java.lang.NoSuchMethodException   ...
  • ssyan
  • ssyan
  • 2011-09-20 12:52:17
  • 26849

spring boot集成tk.mybatis3.4.0通用mapper, java.lang.ClassCastException,实体不能转换为实体

项目使用spring boot1.5.2 集成mybatis通用mapper插件,发现查询方法selectByPrimaryKey 会导致发生异常—— java.lang.ClassCastExce...
  • jie873440996
  • jie873440996
  • 2017-04-18 18:34:45
  • 4437
收藏助手
不良信息举报
您举报文章:tk.mybatis.mapper.provider.SpecialProvider
举报原因:
原因补充:

(最多只允许输入30个字)