上一页 1 2 3 4 5 6 ··· 24 下一页
摘要: 1、说明产生这样原因很多,本人工程是公司团队一起做的、模块命名、包命名都不太规范。为了系统和功能可持续使用对项目规范做了修改。 项目名称、模块名及包名都做了重新命名。导致项目编译发生引用冲突。 2、根据原因为IDEA缓存本地的与依赖相关文件.iml 文件发生冲突引起找不到可用包,即使引入了依赖也不能 阅读全文
posted @ 2024-05-21 14:04 东北大亨 阅读(887) 评论(0) 推荐(0) 编辑
摘要: 1、描述虚拟机搭建mongo副本集虚拟机的设定的hostname为: centosc。虚拟机IP为 192.168.25.129 搭建三个副本集端口分别为,28017、28018、28019 ,运行mongo副本集报错,报错信息如下: 2024-05-20 10:22:39:235[main]INF 阅读全文
posted @ 2024-05-20 11:16 东北大亨 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 客户端使用 FeignClient 调用服务端服务时,报错:Request method ‘POST‘ not supported 修改错误前调用方式: FeignClient 接口服务 @FeignClient(contextId = "remotePayFormService", value = 阅读全文
posted @ 2024-04-24 13:49 东北大亨 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 1、mongo集群存入实体类数据报错 : Cannot autogenerate id of type java.lang.Object for entity of type com.tycoon.frame.entity.Transaction! 2、通过排查实体类 Transaction 的 定 阅读全文
posted @ 2024-03-29 11:52 东北大亨 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 第一步:打开com(终端) 第二步:输入:netsh wlan show profiles ,然后回车即可显示连接的wifi列表 第三步:继续输入:netsh wlan show profiles name ="NorthEastTycoon-5G" key =clear 回车,出现的关键内容即为连 阅读全文
posted @ 2024-03-25 13:18 东北大亨 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1、描述:mongo 单机使用 GridFSBucket 2、pox中添加jar <dependency> <groupId>org.mongodb</groupId> <artifactId>mongo-java-driver</artifactId> <version>3.12.9</versi 阅读全文
posted @ 2024-03-20 12:17 东北大亨 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 一、MongoTemplate 中 Aggregation 应用 使用Aggregation聚合查询 支持返回固定字段 支持分组计算(count)总数、(sum)求和、(avg)平均值、(max)最大值、(min)最小值等 public Page<Student> getListWithAggreg 阅读全文
posted @ 2024-03-19 09:34 东北大亨 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 在mongo中 aggregation(聚合应用) 1、插入测试数据 db.tycoon.insertMany( [ {item:"paper",tycoon:25,size:{h:14, w:21,cm:"and" },status:"A"}, {item:"notebook",tycoon:50 阅读全文
posted @ 2024-03-19 08:36 东北大亨 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 1、find mongoTemplate.find(Query query, Class<T> entityClass ) return value : List<T> example: List<users> users = mongoTemplate.find(new Query(Criteri 阅读全文
posted @ 2024-03-15 18:03 东北大亨 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 1、create a collection the name is users(the users collection contains field :createDate、name、age、grade) example: db.users.insertMany([{"createDate":"2 阅读全文
posted @ 2024-03-15 17:46 东北大亨 阅读(32) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 24 下一页
点击右上角即可分享
微信分享提示