Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@109d4e48]
2023-06-07 16:48:35.810 INFO 14892 --- [nio-8080-exec-2] com.itheima.controller.DeptController : 查询所有部门信息
2023-06-07 16:48:35.818 ERROR 14892 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'start' not found. Available parameters are [arg1, arg0, param1, param2]] with root cause
出现这个异常,可能是要在sql语句中加@Param注解 ,加了@Param注解就搞定了