会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
漫漫菜鸟路
走过最长的路就是编程的弯路。
博客园
首页
新随笔
联系
订阅
管理
随笔 - 15
文章 - 0
评论 - 0
阅读 -
14256
08 2023 档案
【mybatis】传参异常:Parameter ‘xxx‘ not found. Available parameters are [xxx,xxx, param1,param2]
摘要:造成该异常可能的原因有: 1、多个传参没有用@Param注解,或者注解导入的包有误。 2、#{xxx}填写错误; 3、#{xxx}遗漏,特别是有些写在select里的; 4、写在bean类里,后面新需求增加变量的,没有加上bean的前缀:"bean.xxx"; 5、在xml文件里不需要的变量,特别是
阅读全文
posted @
2023-08-07 14:44
BerserkD
阅读(2075)
评论(0)
推荐(0)
编辑
公告
昵称:
BerserkD
园龄:
5年7个月
粉丝:
0
关注:
0
+加关注
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
随笔分类
applicationContext.xml配置问题(1)
ConversionNotSupportedException(1)
java基础(1)
Json(1)
mybatis(3)
mysql(1)
NullpointerException(2)
redis(1)
spring(4)
SQLException(1)
SSH(1)
方案设计(1)
服务器(1)
解决方案(1)
问题记录(5)
协议(1)
随笔档案
2024年9月(1)
2023年8月(1)
2023年4月(1)
2023年2月(1)
2022年6月(2)
2022年5月(1)
2022年3月(5)
2022年2月(1)
2022年1月(2)
阅读排行榜
1. 【编译失败】Compilation failure An unknown compilation problem occurred(3402)
2. 宝塔面板部署springboot项目(2809)
3. 【mybatis】传参异常:Parameter ‘xxx‘ not found. Available parameters are [xxx,xxx, param1,param2](2075)
4. maven打包时报错:找不到符号,errors提示:符号:类 xxx位置:程序包 xxx.xxx(1213)
5. Failed to convert property value of type 'java.lang.String' to required type 'javax.sql.DataSource' for property 'dataSource'; (954)
点击右上角即可分享