Tk.mybatis.mapper.provider.specialprovider.<init> ()

Source: Internet
Author: User

2017-03-26 23:44:29.192 ERROR 48392---[p-nio-80-exec-5] c.t.global.exception.globalexhandler:nested exception is O Rg.apache.ibatis.builder.BuilderException:Error Invoking SQLProvider Method ( Tk.mybatis.mapper.provider.SpecialProvider.dynamicSQL). Cause:java.lang.InstantiationException: Tk.mybatis.mapper.provider.SpecialProviderorg.mybatis.spring.MyBatisSystemException:nested exception is Org.apache.ibatis.builder.BuilderException:Error Invoking SQLProvider Method ( Tk.mybatis.mapper.provider.SpecialProvider.dynamicSQL). Cause:java.lang.InstantiationException: Tk.mybatis.mapper.provider.SpecialProviderat Org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible (mybatisexceptiontranslator.java:77) At Org.mybatis.spring.sqlsessiontemplate$sqlsessioninterceptor.invoke (sqlsessiontemplate.java:446) at Com.sun.proxy. $Proxy 110.insert (Unknown Source) at Org.mybatis.spring.SqlSessionTemplate.insert ( sqlsessiontemplate.java:278) at Org.apache.ibatis.binding.MapperMethod.Execute (mappermethod.java:57) at Org.apache.ibatis.binding.MapperProxy.invoke (mapperproxy.java:59) at Com.sun.proxy. $Proxy 113.insertUseGeneratedKeys (Unknown Source) at Com.tangcheng.db.biz.StudentBiz.insert ( studentbiz.java:23) at com.tangcheng.db.biz.studentbiz$ $FastClassBySpringCGLIB $ $f 5629d3b.invoke (<generated >) at Org.springframework.cglib.proxy.MethodProxy.invoke (methodproxy.java:204) at Org.springframework.aop.framework.cglibaopproxy$cglibmethodinvocation.invokejoinpoint (CglibAopProxy.java:720) At Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (reflectivemethodinvocation.java:157) at Org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke ( persistenceexceptiontranslationinterceptor.java:136) at Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (reflectivemethodinvocation.java:179) at Org.springframework.aop.framework.cglibaopproxy$dynamicadvisedinterceptor.intercept (CglibAopProxy.java:655) at Com.tangcheng.db.biz.StudentBiz$ $EnhancerBySpringCGLIB $$2b7da1b.insert (<generated>) at Com.tangcheng.service.TxService.addRecord ( TXSERVICE.JAVA:32) at Com.tangcheng.rest.TxController.testTx (txcontroller.java:29) 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:622) at Org.springframework.web.servlet.FrameworkServlet.service (frameworkservlet.java:846) at Javax.servlet.http.HttpServlet.service (httpservlet.java:729) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:230) at Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:165) at ORG.APache.tomcat.websocket.server.WsFilter.doFilter (wsfilter.java:52) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:192) at Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:165) at Org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal ( applicationcontextheaderfilter.java:55) at Org.springframework.web.filter.OncePerRequestFilter.doFilter ( onceperrequestfilter.java:107) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter ( applicationfilterchain.java:192) at Org.apache.catalina.core.ApplicationFilterChain.doFilter ( applicationfilterchain.java:165) at Org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal (webrequesttracefilter.java:105) At Org.springframework.web.filter.OncePerRequestFilter.doFilter (onceperrequestfilter.java:107) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:192) at Org.apache.catalina.coRe. Applicationfilterchain.dofilter (applicationfilterchain.java:165) at Com.tangcheng.global.filter.RewriteServletPathFilter.doFilter (REWRITESERVLETPATHFILTER.JAVA:25) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:192) at Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:165) at Com.tangcheng.global.filter.AddExtraToParamsFilter.doFilter (addextratoparamsfilter.java:33) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:192) at Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:165) at Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:317) at Org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke ( filtersecurityinterceptor.java:127) at Org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter ( filtersecurityinterceptor.java:91) at Org.Springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (filterchainproxy.java:331) at Org.springframework.security.web.access.ExceptionTranslationFilter.doFilter (Exceptiontranslationfilter.java : + +) at Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:331 ) at Org.springframework.security.web.session.SessionManagementFilter.doFilter (sessionmanagementfilter.java:137) At Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:331) at Org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter ( anonymousauthenticationfilter.java:111) at org.springframework.security.web.filterchainproxy$ Virtualfilterchain.dofilter (filterchainproxy.java:331) at Org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter ( securitycontextholderawarerequestfilter.java:169) at org.springframework.security.web.filterchainproxy$ Virtualfilterchain.dofilter(filterchainproxy.java:331) at Org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter ( requestcacheawarefilter.java:63) at org.springframework.security.web.filterchainproxy$ Virtualfilterchain.dofilter (filterchainproxy.java:331) at Org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter ( abstractauthenticationprocessingfilter.java:200) at org.springframework.security.web.filterchainproxy$ Virtualfilterchain.dofilter (filterchainproxy.java:331) at Org.springframework.security.web.authentication.logout.LogoutFilter.doFilter (logoutfilter.java:121) at Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:331) at Org.springframework.security.web.csrf.CsrfFilter.doFilterInternal (csrffilter.java:100) at Org.springframework.web.filter.OncePerRequestFilter.doFilter (onceperrequestfilter.java:107) at Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:331) at Org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal (headerwriterfilter.java:66) at Org.springframework.web.filter.OncePerRequestFilter.doFilter (onceperrequestfilter.java:107) at Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter (FilterChainProxy.java:331) at Org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter ( securitycontextpersistencefilter.java:105) at org.springframework.security.web.filterchainproxy$ Virtualfilterchain.dofilter (filterchainproxy.java:331) at Org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal ( webasyncmanagerintegrationfilter.java:56) at Org.springframework.web.filter.OncePerRequestFilter.doFilter ( onceperrequestfilter.java:107) at Org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter ( filterchainproxy.java:331) at Org.springframework.security.web.FilterChainProxy.doFilterInternal ( filterchainproxy.java:214) at Org.spriNgframework.security.web.FilterChainProxy.doFilter (filterchainproxy.java:177) at Org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate (delegatingfilterproxy.java:346) at Org.springframework.web.filter.DelegatingFilterProxy.doFilter (delegatingfilterproxy.java:262) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:192) at Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:165) at Org.springframework.web.filter.RequestContextFilter.doFilterInternal (requestcontextfilter.java:99) at Org.springframework.web.filter.OncePerRequestFilter.doFilter (onceperrequestfilter.java:107) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:192) at Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:165) at Org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal (httpputformcontentfilter.java:87) at Org.springframework.web.filter.OncEperrequestfilter.dofilter (onceperrequestfilter.java:107) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:192) at Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:165) at Org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal (hiddenhttpmethodfilter.java:77) at Org.springframework.web.filter.OncePerRequestFilter.doFilter (onceperrequestfilter.java:107) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:192) at Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:165) 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:192) at Org.apache.catalina.core.ApplicationFilterChain.doFilteR (applicationfilterchain.java:165) at Org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal (metricsfilter.java:107) at Org.springframework.web.filter.OncePerRequestFilter.doFilter (onceperrequestfilter.java:107) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:192) at Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:165) at Org.apache.catalina.core.StandardWrapperValve.invoke (standardwrappervalve.java:198) at Org.apache.catalina.core.StandardContextValve.invoke (standardcontextvalve.java:108) at Org.apache.catalina.authenticator.AuthenticatorBase.invoke (authenticatorbase.java:522) at Org.apache.catalina.core.StandardHostValve.invoke (standardhostvalve.java:140) at Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:79) at Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:87) at Org.apache.catalina.connector.CoyoteAdapter.service (Coyoteadapter.java: 349) at Org.apache.coyote.http11.Http11Processor.service (http11processor.java:1110) at Org.apache.coyote.AbstractProcessorLight.process (abstractprocessorlight.java:66) at Org.apache.coyote.abstractprotocol$connectionhandler.process (abstractprotocol.java:785) at Org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun (nioendpoint.java:1425) at Org.apache.tomcat.util.net.SocketProcessorBase.run (socketprocessorbase.java:49) at Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1142) at Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:617) at Org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run (taskthread.java:61) at Java.lang.Thread.run ( thread.java:745) caused By:org.apache.ibatis.builder.BuilderException:Error invoking SQLProvider method ( Tk.mybatis.mapper.provider.SpecialProvider.dynamicSQL). Cause:java.lang.InstantiationException: Tk.mybatis.mapper.provider.SpecialProviderat Org.apache.ibatis.builder.annotation.ProviderSqlSource. Createsqlsource (providersqlsource.java:103) at ORG.APACHE.IBATIS.BUILDER.ANNOTATION.PROVIDERSQLSOURCE.GETBOUNDSQL (providersqlsource.java:73) at ORG.APACHE.IBATIS.MAPPING.MAPPEDSTATEMENT.GETBOUNDSQL (mappedstatement.java:292) at Org.apache.ibatis.executor.statement.basestatementhandler.<init> (basestatementhandler.java:64) at Org.apache.ibatis.executor.statement.preparedstatementhandler.<init> (preparedstatementhandler.java:40) at Org.apache.ibatis.executor.statement.routingstatementhandler.<init> (routingstatementhandler.java:46) at Org.apache.ibatis.session.Configuration.newStatementHandler (configuration.java:545) at Org.apache.ibatis.executor.SimpleExecutor.doUpdate (simpleexecutor.java:48) at Org.apache.ibatis.executor.BaseExecutor.update (baseexecutor.java:117) at Org.apache.ibatis.executor.CachingExecutor.update (cachingexecutor.java:76) at Org.apache.ibatis.session.defaults.DefaultSqlSession.update (defaultsqlsession.java:198) at Org.apache.ibatis.session.defaults.DefaultSqlSessiOn.insert (defaultsqlsession.java:185) 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.mybatis.spring.sqlsessiontemplate$ Sqlsessioninterceptor.invoke (sqlsessiontemplate.java:433) ... 123 Common Frames omittedcaused By:java.lang.InstantiationException:tk.mybatis.mapper.provider.SpecialProviderat Java.lang.Class.newInstance (class.java:427) at Org.apache.ibatis.builder.annotation.ProviderSqlSource.createSqlSource (providersqlsource.java:85) ... 139 Common Frames omittedcaused by:java.lang.nosuchmethodexception:tk.mybatis.mapper.provider.specialprovider.< Init> () at Java.lang.Class.getConstructor0 (class.java:3082) at java.lang.Class.newInstance (class.java:412) ... Common frames omitted

Https://github.com/abel533/MyBatis-Spring-Boot

Tk.mybatis.mapper.provider.specialprovider.<init> ()

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.