随笔分类 - 项目报错-bug
摘要:环境: navicat 15Spring cloud 数据处理中心(mqtt客户端:订阅设备数据上报)物联网设备emqx 5.0 问题: mongodb 字段中文乱码 控制台打印设备上报内容--乱码 原因: 设备上报需要内容用 UTF-8 格式
阅读全文
【bug】org.springframework.data.mongodb.UncategorizedMongoDbException: Exception authenticating MongoC
摘要:场景: navicat 创建monogdb库 名称为 hzdspring boot 连接hzd 报错 报错: org.springframework.data.mongodb.UncategorizedMongoDbException: Exception authenticating MongoC
阅读全文
摘要:场景: navicat设置字段默认值报错 错误原因: 字符串(varchar)类型字段的默认值,需要 '' ,括起来 延伸: 1064错误大部分只需要 '' ,括起来 如:sql语句中词和mysql的关键字冲突
阅读全文
摘要:环境: dockernginxvue3spring cloudoss - 阿里文件上传服务 场景: 上传文件大小结果前端页面小于1M正常前端页面大于1M报错postman-调接口大于1M正常 报错信息: Access to XMLHttpRequest at 'https://ip:44300/ba
阅读全文
【Bug - lombok】java: You aren‘t using a compiler supported by lombok, so lombok will not work and ...
摘要:项目场景: 技术栈:SpringBoot + MyBatis + postgresql 编辑器:IDEA 2021 问题描述: 使用Lombok一直正常,突然启动报错, 奇怪的是:IDEA 中其它项目Lombok正常, 能够get set方法,但是不能通过编译,报错如下 java: You aren
阅读全文
摘要:项目场景: Spring cloud + Mybatis-plus + postgresql 问题描述: 关联查询报错 PSQLException: ERROR: column reference "id" is ambiguous 原因分析: 关联查询时两个表均有id 解决方案: 设置表别名 a,
阅读全文
摘要:场景 spring cloud 项目 问题 maven项目xml 文件报红 原因 统一资源标识符没有注册 解决方法 忽略url 即可 file-->settings...-->languages & frameworks --> Schemas and DTDs
阅读全文
摘要:问题: 笔记本经常自动变暗 产生原因: inter显卡自适应亮度 + 自动节能导致 解决方法: 搜索框--搜 英特尔 > 选择 英特尔显卡控制中心 > 系统 > 功率 > 关闭 自适应亮度 + 自动节能
阅读全文
摘要:环境: spring cloud + Mybatis-plus + postgresql 场景: 表插入时提示 org.postgresql.util.PSQLException: ERROR: syntax error at or near "current_date" 产生原因: current
阅读全文
摘要:问题: 执行查询语句时出现 SSL SYSCALL error: Software caused connection abort (0x00002745/10053) 原因:navicate 15 失去连接 解决方法: 关闭数据重连,并再次新建查询
阅读全文
摘要:错误描述 调用save()方法报错 Connection is read-only. Queries leading to data modification are not allowed 产生原因 让所有的方法都加入事务管理,类前面加了注解 @Transactional(readOnly = t
阅读全文
摘要:读书笔记 -- Hystrix 史上最简单的SpringCloud教程 | 第四篇:断路器(Hystrix)(Finchley版本) 点击进入 熔断器作用:防止“雪崩”效应。 雪崩效应:服务与服务之间的依赖性,故障会传播,会对整个微服务系统造成灾难性的严重后果,这就是服务故障的“雪崩”效应。 总结
阅读全文
[IDEA] 异常 Configuration is still incorrect. Do you want to edit it again? Error: module not specifie
摘要:在Idea打开项目出现,Configuration is still incorrect. Do you want to edit it again? 的错误提示。点Edit,出现 Error: module not specifie 问题: 产生原因: 项目模块没指定 解决方法
阅读全文
[maven] 异常 Element 'dependency' cannot have character [children], because the type's content type is
摘要:IDEA pom.xml 文件报错 Element 'dependency' cannot have character [children], because the type's content type is element-on 图片效果 原因: 引入<dependency>...</dep
阅读全文

浙公网安备 33010602011771号