- 博客(11)
- 收藏
- 关注
原创 MongoDB字段类型转换错误No converter found capable of converting from type。。。。
BsonUndefined类型是MongoDB驱动程序中的一个特殊类型,用于表示在数据库中未定义的字段。程序尝试读取MongoDB集合中的一个字段,而该字段在某些字段中不存在值时,MongoDB驱动可能会返回BsonUndefined。刚才开始以为是参数对象设置问题,检查发现并没有问题,通过对上面问题的分析,检查查询条件下的MongoDB数据库数据,结果发现有个字段的值是Undefined,修改掉该字段的值问题解决。该字段为后面新增的字段,所以历史数据没有值。
2024-07-19 16:27:28
612
原创 MongoDB范围查询--Due to limitations of the com.mongodb.BasicDocument, you can‘t add a second ‘work_hour‘
MongoDB范围查询--Due to limitations of the com.mongodb.BasicDocument, you can't add a second 'XXXX'
2024-06-07 14:19:32
511
原创 Vue前端报错——This relative module was not found
Vue新增功能模块运行报错 This relative module was not found:ERROR Failed to compile with 2 errors。
2024-04-25 10:03:55
2044
原创 idea使用better-mybatis-generator插件没有生成实体类,mapper类以及XML文件
开发工具版本及数据库版本:IDEA2022.2,MYSQL 5.7;插件安装到数据库连接都没有问题,但点击生成文件时,没有任何反应。搜索各种办法没有解决,经过各种尝试后终于找到问题所在,记录一下,希望能帮到有需要的朋友。
2023-05-31 10:50:24
1933
3
原创 SpringBoot项目,在yml中配置数据库, driver-class-name: com.mysql.cj.jdbc.Driver标红报错解决方法
SpringBoot项目,在yml中配置数据库, driver-class-name: com.mysql.cj.jdbc.Driver标红报错解决方法
2023-05-30 16:41:42
1829
1
原创 Uncaught (in promise) Error: REJECT_EXCEPTION
Vue前端报错:Uncaught (in promise) Error: REJECT_EXCEPTION
2023-04-24 11:25:03
225
1
原创 1292 - Truncated incorrect DOUBLE value: ‘undefined‘
1292 - Truncated incorrect DOUBLE value: 'undefined'
2022-07-28 10:47:22
401
转载 在eclipse中,用maven创建一个web项目工程
在eclipse中,用maven创建一个web项目工程1.在eclipse中用maven创建项目,右键new>>Maven Project2.点击next继续3.点击next继续,选择maven-archetype-webapp,4.点击next继续,填写Group id和Artifact id, Version默认,Package可以不填然后点击finish,完成...
2019-06-28 11:24:49
175
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人