![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bug
万千人中小小程序猿
撸猫,代码,喝茶,摩托车,汽车爱好者
展开
-
local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 2427
记一次报错解决:local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 2427389723552147596报错场景:代码合并后重启,发现接口报错产生原因:由于类文件信息已经序列化,更新后的类文件有改动,而缓存中存在的还是旧版本的序列化信息解决方法:删除缓存后重启服务。...原创 2022-05-26 14:54:58 · 4556 阅读 · 0 评论 -
No qualifying bean of type ‘java.lang.Long‘ available: expected at least 1 bean which qualifies as a
记一次bean报错;No qualifying bean of type ‘java.lang.Long’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}正常情况下应该会给出bean的具体名称和类型,然后提示没有匹配到。而这次只有这么一句错误。原因:有一个空的注解@Resource,idea这货在编译的时候居然不报错,所以代码还是要多检查检查,不然原创 2022-05-26 11:29:01 · 1146 阅读 · 5 评论