随笔分类 - ERROR
报错解决方案
摘要:原因一:nacos没有正确启动 nacos双击启动时默认是以集群的方式启动,所以会报错,在cmd下用命令启动 startup.cmd -m standalone 原因二:没有导入web依赖 <dependency> <groupId>org.springframework.boot</groupId
阅读全文
摘要:==class invalid for deserialization== 原因: 类对反序列化无效 场景: 保存或获取redis缓存的时候,会出现序列化和反序列化的问题 解决方案: 从redis服务器中获取缓存数据时,其key和value要实现序列化,以实现跨平台存储和网络传输,否则redis无法
阅读全文
摘要:==The dependencies of some of the beans in the application context form a cycle== 场景: 启动Spring Boot项目时报循环依赖错误:The dependencies of some of the beans in
阅读全文
摘要:==Unable to resolve column XXXX== 场景: 在IDEA中的Mybatis需要书写SQL语句时,编译过程会报警告 | 原因分析: IDEA无法完全识别数据库的信息 | 解决方案 idea中file>setting——>languages&Frameworks——>SQL
阅读全文
摘要:==Disconnected from the target VM, address : '127.0.0.1:6847' , transport : 'socket'== 场景: 启动项目时无法启动 原因分析1 : 服务器采用的Tomcat,编译打包方式未设置war【默认打包方式是jar】 解决方
阅读全文
摘要:==Unable to process Jar entry [module-info.class] from Jar== 场景: 启动Idea项目时会出现严重的红色错误 | 原因分析: 无法从Jar包中处理jar条目[module-info.class] 解决方案: 第一步:进入Maven仓库里找到
阅读全文