http://xiangai.taobao.com
http://shop148612228.taobao.com

Null key returned for cache operation (maybe you are using named params on classes without debug info?) Builder(解决Null key returned for cache operation)

Null key returned for cache operation (maybe you are using named params on classes without debug info?) Builder(解决Null key returned for cache operation)

@Cacheable(cacheNames = "demoCache", key = "#id")
User getUserById(Integer id);


解决: key = "#id" 改成: key = "'_' + #id"


@Cacheable(cacheNames = "demoCache", key = "'_' + #id")
User getUserById(Integer id);

posted @   万事俱备就差个程序员  阅读(279)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
历史上的今天:
2020-03-12 深入理解浏览器工作原理
2014-03-12 SVG中的'defs' and 'use'-可复用的图元定义
2014-03-12 SVG ViewBox
2012-03-12 group by

http://xiangai.taobao.com
http://shop148612228.taobao.com
如果您觉得对您有帮助.领个红包吧.谢谢.
支付宝红包
微信打赏 支付宝打赏
点击右上角即可分享
微信分享提示