摘要: using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; us 阅读全文
posted @ 2024-04-09 11:16 莫等闲也 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 搭建confluence后,进入空间目录,发现其中的日期显示不正确的情况 问题截图: 解决方案:重新设定日期格式,修改为“yyyy-MM-dd HH:mm” 阅读全文
posted @ 2023-07-01 08:44 莫等闲也 阅读(63) 评论(0) 推荐(0) 编辑
摘要: sudo chmod a+rwx -R logs logs更改为需要授权的文件夹 为此目录及子目录所有用户拥有该文件的读取、写入、执行的权限,此时需要加-R 阅读全文
posted @ 2023-06-12 19:40 莫等闲也 阅读(309) 评论(0) 推荐(0) 编辑
摘要: Visual Studio 2022打开后直接闪退,仅作为一个参考 查看本机是否安装“SangforCSClient”的vpn软件, 如果有进行卸载,再重启Visual Studio 2022,便可以正常打开使用! 阅读全文
posted @ 2023-05-22 13:17 莫等闲也 阅读(634) 评论(0) 推荐(0) 编辑
摘要: POI,单元格赋值后,原有单元格计算公式没有计算,需要如下处理 重新计算Excel工作簿中的所有公式: sheet.setForceFormulaRecalculation(true); 阅读全文
posted @ 2022-01-14 15:18 莫等闲也 阅读(289) 评论(0) 推荐(0) 编辑
摘要: List分组GroupBy一个字段,如下 Map<Long, List<BaseOil>> subListMap = baseOilList.stream().filter(x -> x.getSubclassId() != null).collect(Collectors.groupingBy(B 阅读全文
posted @ 2021-12-28 14:42 莫等闲也 阅读(3191) 评论(0) 推荐(0) 编辑
摘要: yml配置文件中格式如下 spring: datasource: primary: jdbc-url: jdbc:mysql://127.0.0.1:3306/data1?useSSL=false&useUnicode=true&characterEncoding=UTF-8&autoReconne 阅读全文
posted @ 2021-06-11 14:23 莫等闲也 阅读(71) 评论(0) 推荐(0) 编辑
摘要: Java 项目中Spring Cloud组件中Feign,使用异常,提示如下 The bean 'service.FeignClientSpecification' could not be registered. A bean with that name has already been def 阅读全文
posted @ 2021-03-17 20:38 莫等闲也 阅读(7863) 评论(0) 推荐(0) 编辑
摘要: Java8的Stream流的一些用法, 阅读全文
posted @ 2019-11-20 13:55 莫等闲也 阅读(2453) 评论(0) 推荐(0) 编辑
摘要: 目前在调试地磅读取程序,近一段时间无法读取,排查原因发现是com1端口被占用。 从网上找了无数个文章,最终得到一条有价值的消息, 原因如下: com1端口不能读取电子地磅的数据了,重启之后发现 有一个驱动在更新Serial BallPoint 原来Com口连接的设备,因为满足了微软对Serial b 阅读全文
posted @ 2019-03-06 14:03 莫等闲也 阅读(1914) 评论(1) 推荐(1) 编辑