Org.apache.ibatis.binding.BindingException:Parameter ' start ' not found. Available parameters is [1, 0, param1, param2]

Source: Internet
Author: User


DEBUG 2018-05-30 08:43:26,091 org.springframework.jdbc.datasource.DataSourceTransactionManager:Rolling back JDBC Transaction on Connection [[email protected]
DEBUG 2018-05-30 08:43:26,091 org.mybatis.spring.sqlsessionutils$sqlsessionsynchronization:transaction Synchronization rolling back sqlsession [[email protected]]
DEBUG 2018-05-30 08:43:26,091 org.mybatis.spring.sqlsessionutils$sqlsessionsynchronization:transaction Synchronization closing sqlsession [[email protected]]
DEBUG 2018-05-30 08:43:26,092 org.springframework.jdbc.datasource.DataSourceTransactionManager:Releasing JDBC Connection [[email protected]] after transaction
DEBUG 2018-05-30 08:43:26,092 org.springframework.jdbc.datasource.DataSourceUtils:Returning jdbc Connection to DataSource
DEBUG 2018-05-30 08:43:26,094 org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver:Resolving Exception from handler [public Com.xsw.utils.EasyUIDataGridResult Com.xsw.controller.ProductController.getProductByLimit (Int,int)]: org.mybatis.spring.MyBatisSystemException: Nested exception is Org.apache.ibatis.binding.BindingException:Parameter ' start ' not found. Available parameters is [1, 0, param1, param2]
DEBUG 2018-05-30 08:43:26,097 org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver:Resolving Exception from handler [public Com.xsw.utils.EasyUIDataGridResult Com.xsw.controller.ProductController.getProductByLimit (Int,int)]: org.mybatis.spring.MyBatisSystemException: Nested exception is Org.apache.ibatis.binding.BindingException:Parameter ' start ' not found. Available parameters is [1, 0, param1, param2]
DEBUG 2018-05-30 08:43:26,098 org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver:Resolving Exception from handler [public Com.xsw.utils.EasyUIDataGridResult Com.xsw.controller.ProductController.getProductByLimit (Int,int)]: org.mybatis.spring.MyBatisSystemException: Nested exception is Org.apache.ibatis.binding.BindingException:Parameter ' start ' not found. Available parameters is [1, 0, param1, param2]
DEBUG 2018-05-30 08:43:26,100 org.springframework.web.servlet.FrameworkServlet:Could not complete request
Org.mybatis.spring.MyBatisSystemException:nested exception is org.apache.ibatis.binding.BindingException: Parameter ' start ' not found. Available parameters is [1, 0, param1, param2]
At Org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible (Mybatisexceptiontranslator.java : 73)
At Org.mybatis.spring.sqlsessiontemplate$sqlsessioninterceptor.invoke (sqlsessiontemplate.java:364)
At Com.sun.proxy. $Proxy 12.selectList (Unknown Source)
At Org.mybatis.spring.SqlSessionTemplate.selectList (sqlsessiontemplate.java:194)
At Org.apache.ibatis.binding.MapperMethod.executeForMany (mappermethod.java:114)
At Org.apache.ibatis.binding.MapperMethod.execute (mappermethod.java:58)
At Org.apache.ibatis.binding.MapperProxy.invoke (mapperproxy.java:43)
At Com.sun.proxy. $Proxy 13.getProductByLimit (Unknown Source)
At Com.xsw.service.ProductService.getProductByLimit (productservice.java:44)
At com.xsw.service.productservice$ $FastClassByCGLIB $$3c474d1e.invoke (<generated>)
At Org.springframework.cglib.proxy.MethodProxy.invoke (methodproxy.java:204)
At Org.springframework.aop.framework.cglibaopproxy$cglibmethodinvocation.invokejoinpoint (CglibAopProxy.java:698 )
At Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (reflectivemethodinvocation.java:150)
At Org.springframework.transaction.interceptor.transactioninterceptor$1.proceedwithinvocation ( TRANSACTIONINTERCEPTOR.JAVA:96)
At Org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction ( transactionaspectsupport.java:260)
At Org.springframework.transaction.interceptor.TransactionInterceptor.invoke (transactioninterceptor.java:94)
At Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (reflectivemethodinvocation.java:172)
At Org.springframework.aop.framework.cglibaopproxy$dynamicadvisedinterceptor.intercept (CglibAopProxy.java:631)
At com.xsw.service.productservice$ $EnhancerByCGLIB $ $a 8ebf061.getproductbylimit (<generated>)
At Com.xsw.controller.ProductController.getProductByLimit (productcontroller.java:45)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:57)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)
At Java.lang.reflect.Method.invoke (method.java:606)
At Org.springframework.web.method.support.InvocableHandlerMethod.invoke (invocablehandlermethod.java:219)
At Org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest (Invocablehandlermethod.java : 132)
At Org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle ( SERVLETINVOCABLEHANDLERMETHOD.JAVA:104)
At Org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod ( requestmappinghandleradapter.java:745)
At Org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal ( requestmappinghandleradapter.java:686)
At Org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle ( ABSTRACTHANDLERMETHODADAPTER.JAVA:80)
At Org.springframework.web.servlet.DispatcherServlet.doDispatch (dispatcherservlet.java:925)
At Org.springframework.web.servlet.DispatcherServlet.doService (dispatcherservlet.java:856)
At Org.springframework.web.servlet.FrameworkServlet.processRequest (frameworkservlet.java:936)
At Org.springframework.web.servlet.FrameworkServlet.doGet (frameworkservlet.java:827)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:624)
At Org.springframework.web.servlet.FrameworkServlet.service (frameworkservlet.java:812)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:731)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:303)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:208)
At Org.apache.tomcat.websocket.server.WsFilter.doFilter (wsfilter.java:52)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:241)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:208)
At Org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (characterencodingfilter.java:88)
At Org.springframework.web.filter.OncePerRequestFilter.doFilter (onceperrequestfilter.java:107)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:241)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:208)
At Org.apache.catalina.core.StandardWrapperValve.invoke (standardwrappervalve.java:218)
At Org.apache.catalina.core.StandardContextValve.invoke (standardcontextvalve.java:110)
At Org.apache.catalina.authenticator.AuthenticatorBase.invoke (authenticatorbase.java:506)
At Org.apache.catalina.core.StandardHostValve.invoke (standardhostvalve.java:169)
At Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:103)
At Org.apache.catalina.valves.AccessLogValve.invoke (accesslogvalve.java:962)
At Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:116)
At Org.apache.catalina.connector.CoyoteAdapter.service (coyoteadapter.java:452)
At Org.apache.coyote.http11.AbstractHttp11Processor.process (abstracthttp11processor.java:1087)
At Org.apache.coyote.abstractprotocol$abstractconnectionhandler.process (abstractprotocol.java:637)
At Org.apache.tomcat.util.net.jioendpoint$socketprocessor.run (jioendpoint.java:318)
At Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1145)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:615)
At Org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run (taskthread.java:61)
At Java.lang.Thread.run (thread.java:744)
caused By:org.apache.ibatis.binding.BindingException:Parameter ' start ' not found. Available parameters is [1, 0, param1, param2]
At Org.apache.ibatis.binding.mappermethod$parammap.get (mappermethod.java:160)
At Org.apache.ibatis.reflection.wrapper.MapWrapper.get (mapwrapper.java:41)
At Org.apache.ibatis.reflection.MetaObject.getValue (metaobject.java:113)
At Org.apache.ibatis.scripting.defaults.DefaultParameterHandler.setParameters (defaultparameterhandler.java:72)
At Org.apache.ibatis.executor.statement.PreparedStatementHandler.parameterize (preparedstatementhandler.java:77)
At Org.apache.ibatis.executor.statement.RoutingStatementHandler.parameterize (routingstatementhandler.java:58)
At Org.apache.ibatis.executor.SimpleExecutor.prepareStatement (simpleexecutor.java:71)
At Org.apache.ibatis.executor.SimpleExecutor.doQuery (simpleexecutor.java:56)
At Org.apache.ibatis.executor.BaseExecutor.queryFromDatabase (baseexecutor.java:259)
At Org.apache.ibatis.executor.BaseExecutor.query (baseexecutor.java:132)
At Org.apache.ibatis.executor.CachingExecutor.query (cachingexecutor.java:105)
At Org.apache.ibatis.executor.CachingExecutor.query (cachingexecutor.java:81)
At Org.apache.ibatis.session.defaults.DefaultSqlSession.selectList (defaultsqlsession.java:104)
At Org.apache.ibatis.session.defaults.DefaultSqlSession.selectList (defaultsqlsession.java:98)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:57)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)
At Java.lang.reflect.Method.invoke (method.java:606)
At Org.mybatis.spring.sqlsessiontemplate$sqlsessioninterceptor.invoke (sqlsessiontemplate.java:354)
... More
May 30, 2018 8:43:26 am Org.apache.catalina.core.StandardWrapperValve invoke
Critical: Servlet.service () for Servlets [Dispatcher] in context with path [/shop] threw exception [Request processing failed; NE Sted exception isorg.mybatis.spring.MyBatisSystemException:nested exception is org.apache.ibatis.binding.BindingException: Parameter ' start ' not found. Available parameters is [1, 0, param1, param2]] with root cause
org.apache.ibatis.binding.BindingException:Parameter ' start ' not found. Available parameters is [1, 0, param1, param2]
At Org.apache.ibatis.binding.mappermethod$parammap.get (mappermethod.java:160)
At Org.apache.ibatis.reflection.wrapper.MapWrapper.get (mapwrapper.java:41)
At Org.apache.ibatis.reflection.MetaObject.getValue (metaobject.java:113)
At Org.apache.ibatis.scripting.defaults.DefaultParameterHandler.setParameters (defaultparameterhandler.java:72)
At Org.apache.ibatis.executor.statement.PreparedStatementHandler.parameterize (preparedstatementhandler.java:77)
At Org.apache.ibatis.executor.statement.RoutingStatementHandler.parameterize (routingstatementhandler.java:58)
At Org.apache.ibatis.executor.SimpleExecutor.prepareStatement (simpleexecutor.java:71)
At Org.apache.ibatis.executor.SimpleExecutor.doQuery (simpleexecutor.java:56)
At Org.apache.ibatis.executor.BaseExecutor.queryFromDatabase (baseexecutor.java:259)
At Org.apache.ibatis.executor.BaseExecutor.query (baseexecutor.java:132)
At Org.apache.ibatis.executor.CachingExecutor.query (cachingexecutor.java:105)
At Org.apache.ibatis.executor.CachingExecutor.query (cachingexecutor.java:81)
At Org.apache.ibatis.session.defaults.DefaultSqlSession.selectList (defaultsqlsession.java:104)
At Org.apache.ibatis.session.defaults.DefaultSqlSession.selectList (defaultsqlsession.java:98)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:57)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)
At Java.lang.reflect.Method.invoke (method.java:606)
At Org.mybatis.spring.sqlsessiontemplate$sqlsessioninterceptor.invoke (sqlsessiontemplate.java:354)
At Com.sun.proxy. $Proxy 12.selectList (Unknown Source)
At Org.mybatis.spring.SqlSessionTemplate.selectList (sqlsessiontemplate.java:194)
At Org.apache.ibatis.binding.MapperMethod.executeForMany (mappermethod.java:114)
At Org.apache.ibatis.binding.MapperMethod.execute (mappermethod.java:58)
At Org.apache.ibatis.binding.MapperProxy.invoke (mapperproxy.java:43)
At Com.sun.proxy. $Proxy 13.getProductByLimit (Unknown Source)
At Com.xsw.service.ProductService.getProductByLimit (productservice.java:44)
At com.xsw.service.productservice$ $FastClassByCGLIB $$3c474d1e.invoke (<generated>)
At Org.springframework.cglib.proxy.MethodProxy.invoke (methodproxy.java:204)
At Org.springframework.aop.framework.cglibaopproxy$cglibmethodinvocation.invokejoinpoint (CglibAopProxy.java:698 )
At Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (reflectivemethodinvocation.java:150)
At Org.springframework.transaction.interceptor.transactioninterceptor$1.proceedwithinvocation ( TRANSACTIONINTERCEPTOR.JAVA:96)
At Org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction ( transactionaspectsupport.java:260)
At Org.springframework.transaction.interceptor.TransactionInterceptor.invoke (transactioninterceptor.java:94)
At Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (reflectivemethodinvocation.java:172)
At Org.springframework.aop.framework.cglibaopproxy$dynamicadvisedinterceptor.intercept (CglibAopProxy.java:631)
At com.xsw.service.productservice$ $EnhancerByCGLIB $ $a 8ebf061.getproductbylimit (<generated>)
At Com.xsw.controller.ProductController.getProductByLimit (productcontroller.java:45)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:57)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)
At Java.lang.reflect.Method.invoke (method.java:606)
At Org.springframework.web.method.support.InvocableHandlerMethod.invoke (invocablehandlermethod.java:219)
At Org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest (Invocablehandlermethod.java : 132)
At Org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle ( SERVLETINVOCABLEHANDLERMETHOD.JAVA:104)
At Org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod ( requestmappinghandleradapter.java:745)
At Org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal ( requestmappinghandleradapter.java:686)
At Org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle ( ABSTRACTHANDLERMETHODADAPTER.JAVA:80)
At Org.springframework.web.servlet.DispatcherServlet.doDispatch (dispatcherservlet.java:925)
At Org.springframework.web.servlet.DispatcherServlet.doService (dispatcherservlet.java:856)
At Org.springframework.web.servlet.FrameworkServlet.processRequest (frameworkservlet.java:936)
At Org.springframework.web.servlet.FrameworkServlet.doGet (frameworkservlet.java:827)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:624)
At Org.springframework.web.servlet.FrameworkServlet.service (frameworkservlet.java:812)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:731)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:303)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:208)
At Org.apache.tomcat.websocket.server.WsFilter.doFilter (wsfilter.java:52)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:241)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:208)
At Org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (characterencodingfilter.java:88)
At Org.springframework.web.filter.OncePerRequestFilter.doFilter (onceperrequestfilter.java:107)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:241)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:208)
At Org.apache.catalina.core.StandardWrapperValve.invoke (standardwrappervalve.java:218)
At Org.apache.catalina.core.StandardContextValve.invoke (standardcontextvalve.java:110)
At Org.apache.catalina.authenticator.AuthenticatorBase.invoke (authenticatorbase.java:506)
At Org.apache.catalina.core.StandardHostValve.invoke (standardhostvalve.java:169)
At Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:103)
At Org.apache.catalina.valves.AccessLogValve.invoke (accesslogvalve.java:962)
At Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:116)
At Org.apache.catalina.connector.CoyoteAdapter.service (coyoteadapter.java:452)
At Org.apache.coyote.http11.AbstractHttp11Processor.process (abstracthttp11processor.java:1087)
At Org.apache.coyote.abstractprotocol$abstractconnectionhandler.process (abstractprotocol.java:637)
At Org.apache.tomcat.util.net.jioendpoint$socketprocessor.run (jioendpoint.java:318)
At Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1145)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:615)
At Org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run (taskthread.java:61)
At Java.lang.Thread.run (thread.java:744)

Workaround: Mybits Pass multiple parameter issues,

Org.apache.ibatis.binding.BindingException:Parameter ' start ' not found. Available parameters is [1, 0, param1, param2]

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.