异常
文章平均质量分 83
烤鸭的世界我们不懂
烤鸭的世界我们不懂。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Is the byte array a result of corresponding serialization for DefaultDeserializer
问题记录,上线之后懵逼的问题。只能回滚?每次都是上线来暴击,不然多查查文章也不至于这么被动。原创 2022-10-12 07:45:00 · 2194 阅读 · 0 评论 -
goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate failed: Index: 0, Size: 0
Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate (default-cli) on project etc-bosc-repository: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate failed: Index: 0, Siz原创 2020-06-03 20:03:48 · 1015 阅读 · 1 评论 -
bouncycastle NoSuchFieldError:xxx 版本冲突
大家好,我是烤鸭: bouncycastle NoSuchFieldError:xxx 就是版本冲突了。 这里提示下,冲突有可能不止在项目里,也有可能在jre的lib目录下... 总之就是classpath加载了同样的jar包(不同版本)。如图所示: 项目里引用的是 bcprov-jdk15on-1.49.jar,而jre下面不知道什么时候...谁放的这个包...太他么蛋疼了。删了或者替换成相同的版本(前提其他人不需要用原来版本的话)就好了。...原创 2020-05-27 21:45:40 · 2001 阅读 · 0 评论 -
奇怪的问题,再次启动jar包会导致bean对象失效?Unknown redis exception Cannot connect, Event executor group is terminated
大家好,我是烤鸭:原创 2020-05-25 10:17:18 · 14208 阅读 · 1 评论 -
The temporary upload location [/tmp/tomcat.xxx/work/Tomcat/localhost/etc] is not valid
大家好,我是烤鸭: 下面又来踩坑实录了。主要是两个问题,第一是图片上传异常,第二是下载文件异常。其实都是在服务器上写入失败。有的人说是权限问题,但是这个一直没人动过。 由于过年放假,导致测试环境很长时间没动过。 The temporary upload location [/tmp/tomcat.xxx/work/Tomcat/localhost/etc] is not ...原创 2020-02-16 13:20:10 · 1806 阅读 · 1 评论 -
Serialized class com.xxx.xxxService must implement java.io.Serializable
大家好,我是烤鸭: 使用dubbo的时候,遇到如下的问题。 Serialized class com.xxx.xxxService must implement java.io.Serializable1. 异常dubbo无论使用哪个协议传递参数的时候,都需要参数实现序列化接口。所以提示这个很大原因在于传递的参数没有实现序列化,但是一般都提示参数,为什么提示servi...原创 2019-11-09 16:51:36 · 6722 阅读 · 0 评论 -
fastjson导致的OOM
大家好,我是烤鸭: 今天又遇到OOM了,原因在于 fastjson 的 toJSONString。 这是线上的报错信息。 将这个 TotalLoanDTO 对象 toJSONString 导致的OOM。日志如下。2019-10-31 12:07:49.896 [TID:285.93.15724948639339801] [XNIO-1 task-14] INFO [c...原创 2019-11-06 20:28:06 · 6133 阅读 · 5 评论 -
javax.script.ScriptException: ReferenceError: "xxx" is not defined in <eval>
大家好,我是烤鸭: 今天使用 javax.script.ScriptEngine 遇到一个奇怪的问题,无法识别js方法。1. 报错内容:javax.script.ScriptException: ReferenceError: "a" is not defined in <eval> at line number 1057 at jdk.nashorn.api...原创 2019-08-06 16:33:36 · 17937 阅读 · 4 评论 -
springboot 闪退。falling back to default profiles: default StandardService - Stopping service [Tomcat]
大家好,我是烤鸭: 今天分享一个springboot 闪退的问题。确切得说是没有起来。环境: springboot 版本 2.1.0.RELEASE异常:2019-05-25 19:39:00.822 ==> [main] ==> INFO com.cgmanage.migrate.MigrateApplication - Starti...原创 2019-05-28 09:13:13 · 846 阅读 · 0 评论 -
【dubbo】http.conn.HttpHostConnectException.host: 'org.apache.http.HttpHost' could not be instantiated
大家好,我是烤鸭: dubbo遇到如下问题。1. 异常详细信息: 某个异常对象无法实例化。com.alibaba.dubbo.rpc.RpcException: Failed to invoke remote method: updateCardBycustomerNum, provider: dubbo://20.x.xx.48:20883/com.etc....原创 2019-06-26 10:20:23 · 3129 阅读 · 4 评论 -
This subject is anonymous - it does not have any identifying principals and authorization operations
大家好,我是烤鸭: 最近使用shiro,遇到如下问题:严重: Servlet.service() for servlet [dispatcherServlet] in context with path [/etc] threw exception [Request processing failed; nested exception is org.apache.shiro.aut...原创 2019-04-17 09:03:06 · 10660 阅读 · 0 评论 -
HttpsURLConnection 返回 400
大家好,我是烤鸭: 记一次 由 HttpsURLConnection 引起的返回值400的错误。1. 场景复现 今天线上调用第三方接口的时候突然报错了。 严格来说也不是报错,就是发的请求不通了,http报400的错误。 问了下对接方,也没有改代码,我们这边也没什么大的改动。 奇了怪了。。。 这是请求原来的代码HttpsUR...原创 2019-01-19 09:51:12 · 6114 阅读 · 2 评论 -
org.apache.ibatis.reflection.ReflectionException: Error instantiating class with invalid types
大家好,我是烤鸭,记录一个初级异常,百度搜索结果不多:Caused by: org.apache.ibatis.reflection.ReflectionException: Error instantiating class com.xxx.xxx with invalid types 。java.lang.NoSuchMethodException: com.xxx.xxx.<...原创 2018-03-29 16:28:29 · 3607 阅读 · 1 评论 -
Unable to locate the default servlet for serving static content. Please set the 'defaultServletName'
大家好,我是烤鸭。今天分享一个莫名其妙的异常及解决方式。环境:tomcat6 jdk 1.6异常主体:java.lang.IllegalStateException: Unable to locate the default servlet for serving static content. Please set the 'defaultServletName' property explic...原创 2018-03-27 14:06:45 · 9342 阅读 · 0 评论 -
tomcat9-jenkins:insufficient free space available after evicting expired cache entries-consider
解决该问题方法,修改tomcat/conf/context.xml文件,增加资源最大可缓存的大小:<Context> <!-- Default set of monitored resources. If one of these changes, the --> <!-- web application will be reloaded. ...转载 2017-10-25 09:13:51 · 968 阅读 · 0 评论 -
springboot mybatis mysql8.0 异常 invalid bound statement (not found)(汇总篇)
大家好,我是烤鸭: 现在是采坑实录。 invalid bound statement (not found) 这个坑用过mybatis的人肯定都踩过。1. 环境 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-...原创 2018-08-17 09:26:44 · 609 阅读 · 2 评论 -
springboot : Failed to decode downloaded font 和 OTS parsing error
大家好,我是烤鸭:采坑实录,看了很多人跟我有类似问题,但是都没解决我的问题:Failed to decode downloaded font 和 OTS parsing error:尝试了把woff文件移动到其他可以加载的静态资源文件夹下,还是无法加载。浏览器打开访问直接跳转到登录页。猜测是字体的静态资源被拦截。 解答参考这个:https://stackoverfl...原创 2018-10-24 10:19:56 · 3186 阅读 · 1 评论 -
【objectMapper实体转换异常】 com.fasterxml.jackson.databind.exc.MismatchedInputException
大家好,我是烤鸭: 采坑实录,想把json数据直接转成对象,其中有个属性是list<T>:异常 1com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.util.ArrayList` out of START_OBJ...原创 2018-11-05 09:17:01 · 65853 阅读 · 1 评论 -
org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
大家好,我是烤鸭: 又是采坑实录。 异常如下:org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:...原创 2018-12-21 10:34:21 · 10273 阅读 · 0 评论 -
springboot中getOutputStream() has already been called for this response和java.io.FileNotFoundException
这个异常挺多人遇到的,不过我看了一下,跟我们的情况都不一样。1. 流没关闭。2. 未设置响应头。3. jsp页面需要清空流。说一下我们遇到的情况。就是一个简单的sprinboot项目。用的是springboot 1.5.6,本地启动后用花生壳内网映射。在用httpclient请求项目接口,会报以下的错误。1. Forwarding to error page from reque...原创 2018-04-28 18:34:37 · 4637 阅读 · 0 评论
分享