
错误异常处理
文章平均质量分 57
手把手入门
一百万种可能~
展开
-
Windows下安装运行Kafka(最底下有遇到的坑与解决方法)
注:安装kafka需要提前安装Zookeeper。原创 2023-06-15 11:45:16 · 668 阅读 · 0 评论 -
异常:非法参数,msg:argument type mismatch
注解,原以为加了@Data会自动生成无参的构造函数,但是还得单独添加,如果还没有解决试着把有参的构造函数也加上。二、我是确认了以上两点都没有动过的情况下报的错!解决方案是:在实体类上添加。一、请确认数据库字段是否修改,实体类是否修改类型。原创 2022-09-15 16:27:23 · 667 阅读 · 0 评论 -
The request was rejected because the URL contained a potentially malicious String “//“
解决方案 把多余的/去掉就好了。 但我疑惑的是为什么php就可以,java报错了,后来查到是Spring Security拦截了。 源代码在StrictHttpFirewall#setAllowUrlEncodedDoubleSlash。 这个类里面其他的方法应该也和特殊字符有关(如setAllowBackSlash、setAllowUrlEncodedPercent等)。 重新注入StrictHttpFirewall对象,就可以让它支持//的模式。原创 2022-04-20 17:59:03 · 1633 阅读 · 0 评论 -
net.sf.jsqlparser.statement.update.Update.getTables()Ljava/util/List;
完整错误:Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: net.sf.jsqlparser.statement.update.Update.getTables()Ljava/util/List;解决方法:快给这个jar包搞死了,主要是 jsqlparser 包冲突,全部都移除正常了,不知道是什么问题,如果大佬知道挺留言 <dependency>原创 2021-10-09 16:16:08 · 2230 阅读 · 0 评论 -
PlainSelect.getGroupBy()Lnet/sf/jsqlparser/statement/select/GroupByElement;
完整错误:java.lang.NoSuchMethodError: net.sf.jsqlparser.statement.select.PlainSelect.getGroupBy()Lnet/sf/jsqlparser/statement/select/GroupByElement;解决方法:jar包的版本不对,我一开始使用了 pagehelper-spring-boot-starter包,换了很多版本都不行,最后换成了pagehelper的jar包 &l...原创 2021-10-09 16:12:34 · 2651 阅读 · 1 评论 -
Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
tomcat启动时异常参考链接:https://www.cnblogs.com/gongxin/p/8029249.html## A fatal error has been detected by the Java Runtime Environment:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000024d...原创 2019-10-28 23:07:23 · 5494 阅读 · 0 评论 -
SEVERE: A child container failed during start报错
一、现象:启动tomcat错误代码//忽略N条代码SEVERE: A child container failed during startjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEng...原创 2018-10-18 14:23:58 · 573 阅读 · 0 评论 -
tomcat启动超时问题
Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds . If the server requires more time, try increasing the timeout in the server editor.一、网上的方法:打开tomcat设置页,修改启动时间:经上...原创 2018-10-18 15:08:13 · 988 阅读 · 0 评论 -
java.lang.IllegalStateException: getOutputStream() has already been called for this response
json转义 的时候出现问题现象org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: Object is null (through reference chain: cn.sky999.api.ResultMap["content"]->net.sf.js...原创 2018-10-24 10:32:10 · 1097 阅读 · 0 评论