日常错误收集
文章平均质量分 55
qq_34759280
这个作者很懒,什么都没留下…
展开
-
idea项目编译时报错:GC overhead limit exceeded
idea项目编译时报错:GC overhead limit exceeded原创 2024-04-12 16:28:28 · 960 阅读 · 0 评论 -
记一次内存泄漏:OutOfMemoryError: GC overhead limit exceeded
周一早上查看上周发布代码是否正常运行,结果打开服务器程序报错:OutOfMemoryError,仔细查看服务器内存爆了!排查思路参考:Java内存泄漏的排查总结java.lang.OutOfMemoryError: GC overhead limit exceeded发生的原因是:当前已经没有可用内存,经过多次GC之后仍然没能有效释放内存。JVM的GC过程会因为STW,只不过停顿短到不容易感知。当引起停顿时间的98%都是在进行GC,但是结果只能得到小于2%的堆内存恢复时,就会抛出java.la.原创 2020-09-16 11:12:21 · 1207 阅读 · 1 评论 -
访问swagger报错NumberFormatException: For input string: ""
今天访问swagger时突然报错,如下:2020-04-17 17:13:11.540 WARN 11976 --- [nio-8088-exec-6] i.s.m.p.AbstractSerializableParameter : Illegal DefaultValue for parameter type integerjava.lang.NumberFormatExce...原创 2020-04-17 17:35:57 · 755 阅读 · 1 评论 -
service层报错Invalid bound statement (not found): com.hztx.iot.service.DevicesService.query
threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.hztx.iot.service.DevicesService.query] with root c...原创 2020-03-19 21:15:30 · 402 阅读 · 0 评论 -
dubbo报错:Serialized class com.stylefeng.guns.rest.vo.UserRoleVo must implement java.io.Serializable
dubbo数据传输和转换过程中都需要对接口数据进行序列化和反序列化操作,将对象转成字节流,用于网络传输,以及将字节流转为对象,用于在收到字节流数据后还原成对象。com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method getRoleById in the service com.stylefeng.guns.rest.se...原创 2019-11-27 23:40:17 · 384 阅读 · 0 评论 -
找不到注册中心:No such any registry to refer service in consumer
今天学习使用dubbo时报如下错误,没有找到dubbo注册中心Caused by: java.lang.IllegalStateException: No such any registry to refer service in consumer 192.168.48.1 use dubbo version 2.6.0, Please add <dubbo:registry add...原创 2019-11-27 22:52:05 · 8258 阅读 · 1 评论 -
org.apache.shiro.UnavailableSecurityManagerException: No SecurityManager accessible to the calling c
2019-11-24 18:46:57.048 ERROR 19488 --- [nio-8080-exec-6] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Filtere...原创 2019-11-24 18:48:50 · 604 阅读 · 0 评论 -
org.springframework.web.servlet.DispatcherServlet.noHandlerFound No mapping for GET /user/query/2
报错的原因是没有找到对应的Handler来处理请求,在spring配置文件中添加如下配置即可,表示开启注解驱动<mvc:annotation-driven />原创 2019-11-05 09:15:00 · 680 阅读 · 0 评论 -
No converter found for return value of type: class com.liaohao.bean
导入如下依赖即可<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.9.9...原创 2019-11-06 23:19:58 · 141 阅读 · 0 评论