摘要: 启动 RocketMQ 自带的消费者和生产者时报错 RocketMQLog:WARN No appenders could be found for logger (io.netty.util.internal.InternalThreadLocalMap). RocketMQLog:WARN Pl 阅读全文
posted @ 2022-02-20 15:35 kmswilliam 阅读(3947) 评论(1) 推荐(0)
摘要: IDEA 报错 Cannot infer arguments 解决方式 检查泛型类型是不是正确 阅读全文
posted @ 2022-02-19 00:01 kmswilliam 阅读(5274) 评论(0) 推荐(0)
摘要: MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException 原因 XML 的 select 标签中 resultType 属性的返回值类型错误, 如果返回值是一个 List 阅读全文
posted @ 2022-02-14 16:12 kmswilliam 阅读(3127) 评论(0) 推荐(0)
摘要: Unrecognized token 'string': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false') 原因 可能是前台传递的是 String 类型的参数, 后台封装参数的是 阅读全文
posted @ 2022-02-11 09:42 kmswilliam 阅读(9110) 评论(0) 推荐(0)
摘要: 后台报错内容 JsonParseException: Unexpected character ('?' (code 255)) 原因 一般出现这种异常都是前台给后台传递的 JSON 字符串格式是错误的 例如: 前台给后台传递了一个 {aa:"aa",bb:"bb"} 这种字符串, 后台使用 jac 阅读全文
posted @ 2022-02-11 02:24 kmswilliam 阅读(1292) 评论(0) 推荐(0)
摘要: 原因说明 一般 IDEA 检测到了有需要转义的字符但是没有进行转义会抛出这编译异常 例如: 使用正则表达式匹配一个字符串, 代码如下 public static void main(String[] args) throws Exception { String str = "{aa: 'abc', 阅读全文
posted @ 2022-02-10 21:15 kmswilliam 阅读(730) 评论(0) 推荐(0)
摘要: 解决方式 @Bean public ConfigurableServletWebServerFactory webServerFactory() { TomcatServletWebServerFactory factory = new TomcatServletWebServerFactory() 阅读全文
posted @ 2022-02-09 20:04 kmswilliam 阅读(55) 评论(0) 推荐(0)
摘要: MySQL 创建数据表时如果字段过多或者一条记录中的字段长度过大, 会报这个错误: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB pre 阅读全文
posted @ 2022-02-09 19:41 kmswilliam 阅读(1235) 评论(0) 推荐(0)
摘要: Could not find a valid tablespace file for xxxx. Please refer to http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting-datadict.html for how t 阅读全文
posted @ 2022-02-09 19:02 kmswilliam 阅读(1831) 评论(0) 推荐(0)
摘要: 报错内容 InnoDB: Write to file ./ib_logfile1failed at offset 1333788672, 1048576 bytes should have been written, only 786432 were written. Operating syste 阅读全文
posted @ 2022-01-24 23:39 kmswilliam 阅读(1233) 评论(0) 推荐(0)