错误集锦
后会无期77
这个作者很懒,什么都没留下…
展开
-
Merged region C17 must contain 2 or more cells
合并单元格比如包含两个或者以上的单元格,所以添加合并区域时,不要大于1个单元格。原创 2024-12-03 10:59:17 · 173 阅读 · 0 评论 -
mysql恢复数据库失败@@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_EXECUTED is empty
开启了gtid 全局事务id 以保证主从复制一致,如果备份时没有忽略gtid,则导入时会出现本地报错。原创 2024-11-28 15:51:10 · 189 阅读 · 0 评论 -
Could not write JSON: Object is null异常
将net.sf.json 更换,原创 2024-11-19 11:01:54 · 176 阅读 · 0 评论 -
记录java Collections.sort踩的坑
java Collections.sort 排序失效?为什么会排序失效呢?原创 2024-11-18 15:11:41 · 243 阅读 · 0 评论 -
spring batch提示No job configuration with the name [jobDemo]
是否配置了JobOperatorConfig。请检查是否注入到容器中。原创 2024-10-28 09:52:19 · 211 阅读 · 0 评论 -
request取不到值
【代码】request取不到值。原创 2024-10-22 11:25:52 · 307 阅读 · 0 评论 -
Java操作excel设置候选项和多余sheet1页面问题
解决办法: 显示使用reader,再从reader中获取writer。原创 2024-10-10 10:49:43 · 243 阅读 · 0 评论 -
lucene搜索关键词错误
遇到的异常信息。原创 2024-08-23 10:30:41 · 406 阅读 · 0 评论 -
input radio获取不到值
使用该写法获取radio值是错误的。此方式获取radio的值。应当更改为才能正确获取。原创 2024-06-21 11:35:48 · 281 阅读 · 0 评论 -
Non-terminating decimal expansion; no exact representable decimal result.
BigDecimal 用于高精度的数学计算,这个异常翻译。RoundingMode.HALF_UP 表示四舍五入。意思就是这个除法除不尽,会得到一个无限小数,导致异常。格式换转换为字符串,设置保留精度。表示保留2位小数,四舍五入。原创 2024-05-13 10:01:09 · 4082 阅读 · 0 评论 -
动态指定easyui的datagrid的url
会造成重复请求,此种方法指定时也会造成一次请求。原创 2024-04-08 17:31:27 · 609 阅读 · 0 评论 -
ajax重复请求状态为已取消
错误原因是在form表单中使用了button标签并且增了点击事件,会导致请求被重复发起。点击按钮,打开浏览器控制台发现发出了重复请求。原创 2024-03-21 17:37:42 · 502 阅读 · 0 评论 -
项目启动错误Command line is too long. Shorten command line for XXXApplication
配置启动项环境页,Shorten command line 选择 JAR manifest即可。原创 2024-03-21 11:52:22 · 218 阅读 · 0 评论 -
单元测试错误Found multiple occurrences of org.json.JSONObject on the class path
【代码】单元测试错误Found multiple occurrences of org.json.JSONObject on the class path。原创 2024-03-21 11:39:08 · 904 阅读 · 1 评论 -
编译错误Refer to the generated Javadoc files in xxx apidocs dir
在pom.xml中添加跳过生成javadoc。原创 2024-03-19 10:24:53 · 467 阅读 · 0 评论 -
invalid comparison date string
dutyDate 为Date类型,不能使用dutyDate!原创 2024-03-06 14:36:55 · 293 阅读 · 0 评论 -
报错net/javacrumbs/shedlock/core/LockProvider
依赖原创 2024-02-26 16:41:27 · 393 阅读 · 0 评论 -
手机端下载文件时显示0B问题
可以看到下载时显示了文件的大小,在手机端同样也有同样作用,手机端确认下载前,会提示文件的大小。原创 2023-10-10 09:33:57 · 648 阅读 · 0 评论 -
IText签名org.bouncycastle.asn1.ASN1OutputStream.create
bcprov-jdk15on和bcpkix-jdk15on升级为1.70。在itext5使用签名加密时,找不到该方法。原因是使用的依赖版本过低。原创 2023-09-05 16:41:00 · 578 阅读 · 0 评论 -
Truncated class file文件损坏
服务器启动时,提示Truncated class file 文件截断。解释说明该文件可能被损坏。原创 2023-09-04 11:24:46 · 619 阅读 · 0 评论 -
vue数据修改失效
vue2中如果修改深层的数据的值时,页面不显示最新数据。原创 2023-08-18 09:28:19 · 472 阅读 · 0 评论 -
mobile-select手机端选择器的使用
手机端select选择器的使用。组件地址:Gitee:由于Github众所周知的原因,如果访问不了,可以访问Gitee。原创 2023-08-17 15:48:33 · 1193 阅读 · 0 评论 -
网页touch-action禁用手势
此行代码为禁用手势,但是在pc上Chrome浏览器模拟手机时,并不能生效(禁止手势)。但是此行代码在iphone手机浏览器时,会禁用手势,导致无法下拉页面。在iphone的safari 下滑网页时,无法下滑。设置了touch-action: none。原创 2023-08-14 15:14:55 · 332 阅读 · 0 评论 -
invalid comparison: java.util.Date and java.lang.String比较错误Date和String
由于createTimeSt 是Date类型,不能使用!=‘’,所以此写法会报错。mybatis中的日期。原创 2023-07-04 10:34:24 · 304 阅读 · 0 评论 -
[WARNING] The artifact xxx has been relocated to xxxx
翻译就是org.hibernate:hibernate-validator:jar:6.1.7.Final 搬迁到了org.hibernate.validator:hibernate-validator:jar:6.1.7.Final。原创 2023-06-06 10:38:19 · 1023 阅读 · 0 评论 -
IDEA查看源码/* compiled code */
IDEA查看源码时显示/* compiled code */原创 2023-05-31 10:24:25 · 700 阅读 · 0 评论 -
java.lang.AbstractMethodError: Method org/apache/commons/dbcp/DelegatingResultSet.getObject(Ljava/la
org.apache.commons.dbcp.BasicDataSource替换为。将commons-dbcp更换为commons-dbcp2即可。dbcp和dbcp2部分配置参数不同,稍微变更即可。原创 2023-05-26 14:24:30 · 1456 阅读 · 0 评论 -
Method breakpoints may dramatically slow down debugging
并且Debug 提示Method breakpoints may dramatically slow down debugging(debug会严重降低调试速度)。debug后,发起调用后,请求非常慢才到后台。原创 2023-05-10 09:41:38 · 165 阅读 · 1 评论 -
Class cannot be created(non-static member class):java.util.ArrayList$SubList
使用注解缓存,存储对象时报错,对象中包含有List类型的属性。原创 2023-03-10 10:01:00 · 314 阅读 · 0 评论 -
WARNING: IPv4 forwarding is disabled. Networking will not work.
重启网卡和docker。原创 2023-02-07 15:22:39 · 152 阅读 · 0 评论 -
Invalid byte tag in constant pool: 19
tomcat启动时报错。原创 2023-01-13 16:48:22 · 7488 阅读 · 0 评论 -
The connection to the server localhost:8080 was refused - did you specify the right host or port?
【代码】The connection to the server localhost:8080 was refused - did you specify the right host or port?原创 2022-10-20 22:14:24 · 285 阅读 · 0 评论 -
k8s添加节点状态为NotReady
查看日志可以看到 cni config uninitialized,cni模块未初始化。原创 2022-10-20 18:45:18 · 520 阅读 · 0 评论 -
yum命令安装失败
执行yum命令安装失败。原创 2022-10-20 17:28:51 · 2062 阅读 · 0 评论 -
unknown field “name“ in io.k8s.api.core.v1.PodSpec
执行kubectl create -f xxx.yaml命令报错。原创 2022-10-11 00:33:32 · 4035 阅读 · 0 评论 -
启动docker错误systemctl status docker.service
执行docker ps失败,但是执行docker -v显示成功。重启docker 失败查看docker启动的状态信息。原创 2022-10-08 13:24:46 · 3335 阅读 · 0 评论 -
Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.1:run (default-cli) on project
无法启动tomcat产生的原因是:tomcat中也有servlet-api包。原创 2022-09-22 00:52:09 · 809 阅读 · 0 评论 -
spring-boot-maven-plugin:2.3.2.RELEASE:repackage failed: Unable to find main class
公共包执行install时失败,提示:原因: 找不到主类(这个包是公共包,不需要main class)原创 2022-09-20 17:30:47 · 770 阅读 · 0 评论 -
Can not find java process. Try to run `jps` command lists the instrumented Java HotSpot VMs on the t
运行arthas-boot.jar时提示报错。原创 2022-09-18 11:30:42 · 10234 阅读 · 0 评论 -
org.springframework.batch.item.WriterNotOpenException: Writer must be open before it can be written
原因:ClassifierCompositeItemWriter未实现stream方法。将自己定义的ItemWriter添加到stream。原创 2022-09-14 19:23:51 · 657 阅读 · 0 评论
分享