2. pig-auth 报错 Cannot deserialize
annot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is java.io.InvalidClassException: org.springframework.security.core.userdetails.User; local class incompatible: stream classdesc serialVersionUID = 540
, local class serialVersionUID = 530","data":"unauthorized"}
报错原因: 之前运行过旧版本 pig 升级后 依赖版本数据结构发生变化导致旧数据无法序列化
解决方案: 清空redis 旧数据
./redis-cli 11:12:12
127.0.0.1:6379> FLUSHALL
OK
3. 根pom pig-cloud-dependencies-parent 源码在哪里?
源码地址: https://gitee.com/log4j/pig-cloud-dependencies-parent
4. pig-register 模块的 nacos-naming 、nacos-config 的源码在哪里?
源码地址: https://github.com/alibaba/nacos 未做任何封装。
为什么要内置 nacos console 模块是为了统一环境,方便开发中使用,生产环境还是直接使用官方打好的Nacos Server。
5. 前端启动失败提示 Node Sass could not find a binding
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 12.x
- 解决方法,尝试执行
npm rebuild node-sass