首页 > 其他分享 >Cannot invoke "Object.hashCode()" because "key" is null

Cannot invoke "Object.hashCode()" because "key" is null

时间:2023-06-19 23:55:17浏览次数:43  
标签:because invoke Object plus 3.3 mybatis null

奇葩问题,springboot+mybatis-plus 

帮朋友解决bg,使用queryWrapper查询语句报错,Cannot invoke "Object.hashCode()" because "key" is null

使用的mybatis-plus-boot-start,3.3.2版本
jdk17

据说是jdk17加上3.3.x和3.3.4.x版本的mybatis-plus会出现这个问题

果然是的,更改mybatis-plus为3.5.1版本,就正常使用了

 

标签:because,invoke,Object,plus,3.3,mybatis,null
From: https://www.cnblogs.com/yeyuzhu/p/17492534.html

相关文章

  • QA||TypeError: ‘module‘ object is not callable报错怎么debugIHRM接口自动化测试
    unittest.py生成测试报告时执行报错:TypeError:‘module‘objectisnotcallable 代码如下 原因:结合pycharm自动标注和报错信息,分析出应该是HTMLTestRunner使用问题,结合网上查阅说是因为import的问题,所以基本问题定位到了HTMLTestRunner应该导入HTMLTestRunner.py中的HTML......
  • 【实例】深入详解 CSS 中的 object-fit 5个属性值
    【实例】深入详解CSS中的object-fit5个属性值在本文中,我们将介绍如何使用object-fit,以及一些实际用例和建议。我们并不总是能够为HTML元素加载不同大小的图像,如果我们使用与图像纵横比不成比例的宽度和高度,则图像可能会被压缩或拉伸。为解决此问题,我们可以为img元素使用ob......
  • java中的深拷贝和浅拷贝、Object类中的clone()
    概念浅拷贝:复制基本数据类型的值,以及实例对象的引用地址,拷贝出来的对象,内部类属性指向的是同一个对象深拷贝:即会拷贝基本数据类型的值,也会针对实例对象的引用地址所指向的对象进行复制,拷贝出来的对象,内部类属性指向的不是同一个对象。Object类中的clone()方法。默认是浅拷贝......
  • hObject==handles.pushbutton1;sprintf('handles.pushbutton1 is %d',handles.pushbutt
    %---Executesonbuttonpressinpushbutton1.functionpushbutton1_Callback(hObject,eventdata,handles)%hObjecthandletopushbutton1(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandles......
  • python: object
    """Peson.py人类类edit:ide:date:"""classHuman(object):"""人类类"""#限制对象属性只能是SLOTS里面的变量名对象绑定属性,不用先定义属性#__slots__=('sage','sname','sfrom......
  • JavaScript之Object.defineProperty()
    1.对象的定义与赋值经常使用的定义与赋值方法obj.prop=value或者obj['prop']=valueletPerson={};Person.name="Jack";Person["gender"]="female";console.log(Person.name);//Jackconsole.log(Person.gender);//femaleconsole.log(Pers......
  • 理论+实践:从原型链到继承模式,掌握 Object 的精髓(一)
    前言系列首发于公众号『前端进阶圈』,若不想错过更多精彩内容,请“星标”一下,敬请关注公众号最新消息。理论+实践:从原型链到继承模式,掌握Object的精髓(一)在之前的文章中,我们介绍了函数调用位置的不同造成了this绑定对象的不同,但对象到底是什么?为什么我们需要绑定他们呢?语法对象......
  • suse12操作系统普通用户报错error while loading shared libraries: libcap.so.2: can
    1、故障描述linux主机普通用户执行ping命令报错ping:errorwhileloadingsharedlibraries:libcap.so.2:cannotopensharedobjectfile:permissiondenied2、故障原因 超级用户修改了根目录权限为655 3、解决方案chmod755/ ......
  • Jackson2ObjectMapperBuilderCustomizer
    //序列化时的命名策略——驼峰命名法builder.propertyNamingStrategy(PropertyNamingStrategy.LOWER_CAMEL_CASE);配置作用  ......
  • JObject 遍历
    varrespData="";varjobj=JsonConvert.DeserializeObject<JObject>(respData);staticprivateList<Dictionary<string,string>>InitProductResponsed(JObjectjobj){varrespon......