一、该问题的重现步骤是什么?
将原来项目升级成最新版本后,
由于跨版本太多,我采用是把最新代码下载下来之后 ,把自己的业务代码,数据库,复制到最新的代码上,
Caused by: org.apache.ibatis.binding.BindingException: Parameter 'notice' not found. Available parameters are [ew, page, param1, param2]
大部分功能都是正常使用的,只有在公告列表中,报错,
/** * 分页 */ @GetMapping("/list") @ApiImplicitParams({ @ApiImplicitParam(name = "category", value = "公告类型", paramType = "query", dataType = "integer"), @ApiImplicitParam(name = "title", value = "公告标题", paramType = "query", dataType = "string") }) @ApiOperationSupport(order = 2) @ApiOperation(value = "分页", notes = "传入notice") public R<IPage<NoticeVO>> list(@ApiIgnore @RequestParam Map<String, Object> notice, Query query) { IPage<Notice> pages = noticeService.page(Condition.getPage(query), Condition.getQueryWrapper(notice, Notice.class)); return R.data(NoticeWrapper.build().pageVO(pages)); }
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
原使用是bladex Boot2.2,现换成2.7
四、请提供详细的错误堆栈信息,这很重要。
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'notice' not found. Available parameters are [ew, page, param1, param2]
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440) at com.sun.proxy.$Proxy128.selectList(Unknown Source) at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:223) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForIPage(MybatisMapperMethod.java:122) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:87) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at com.sun.proxy.$Proxy203.selectPage(Unknown Source) at com.baomidou.mybatisplus.extension.service.IService.page(IService.java:296) at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691) at com.hx.modules.desk.service.impl.NoticeServiceImpl$$EnhancerBySpringCGLIB$$6b24ea76.page(<generated>) at com.hx.modules.desk.controller.NoticeController.list(NoticeController.java:98) at com.hx.modules.desk.controller.NoticeController$$FastClassBySpringCGLIB$$878e7aa9.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
五、若有更多详细信息,请在下面提供。
- 热议问题
-
表格滚动条宽度调整问题
1
-
物模型如果存在模块分组,会导致获取不到缓存获取物模型的数据类型
1
-
@saber node仓库突然无法访问
1
-
疑似TOKEN过期后端未进行处理
1
-
登录时候报错,Could not initialize class org.xnio.
1
-
物联网设备连接以及上报信息问题
1
-
cloud版本,接口放行不生效
1
-
4.4微服务版本单元测试提示Unable to find a @SpringBootConfiguration找不到
1
-
一级菜单页面不跳转,提示页面不存在,把一级菜单换成二级菜单可以正常跳转
1
-
物联网平台升级
1
扫一扫访问 Blade技术社区 移动端