![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
踩坑
wangtaojiushiwo
开始我的代码世界
展开
-
IDEA启动--JVM内存不足
环境说明:WINDOWS本地 + IDEA2018.3.5问题背景:项目突然启动报错:# There is insufficient memory for the Java Runtime Environment to continue.# Native memory allocation (malloc) failed to allocate 2426160 bytes for Chunk::new# An error report file with more information is sav原创 2022-03-03 16:02:40 · 4428 阅读 · 0 评论 -
Mybatis映射异常:Invalid bound statement (not found)
环境说明:WINDOWS本地 + IDEA + gradle + mapper与xml文件都放在一个包下问题背景:项目启动的时候,会去数据库查询一些配置信息,但是只要涉及到sql的执行,就会报错:Invalid bound statement (not found)很明显,这是mybatis的mapper与xml文件绑定异常定位思路:这时候可以检查下mapper的路径是否一致,命名是否一致等等我这里很显然不是这样的原因,那既然报错信息是绑定异常,not found会不会是xml文件压原创 2022-03-03 15:23:22 · 1235 阅读 · 0 评论 -
rabbitmq监听报错:Execution of Rabbit message listener failed
rabbitmq监听端出现报错Execution of Rabbit message listener failed.Caused by: java.lang.IllegalStateException: Channel closed; cannot ack/nackChannel shutdown: channel error; protocol method: #method<channel.close>(reply-code=406经排查验证:是因为监听端代码里加入了手动ACK原创 2022-03-03 10:15:13 · 8423 阅读 · 0 评论