spring
pete1223
这个作者很懒,什么都没留下…
展开
-
SnowFlake 生成的id超过js的最大值
snowflake生成的类是229074432025563136 大于 9007199254740991 ,导致后端更新的时候,无法更新内容。解决方案:写一个 JSON 配置类,将 Long 类型序列化成 JSON 的时候自动转为 String 类型。原创 2022-09-25 11:40:20 · 685 阅读 · 1 评论 -
Redis ---Springboot Injection of resource dependencies failed; nested exception is xxx
这边自己封装了一个叫RedisTemplateDao,导致在查找RedisTemplate Bean的时候由于前缀匹配而报错Springboot Injection of resource dependencies failed;将前缀修改一下,发现就没有问题了。有可能是因为前缀的原因。......原创 2022-09-01 00:03:18 · 575 阅读 · 0 评论 -
NoSuchBeanDefinitionException: No qualifying bean of type ‘com.oscar.base.dao.MenuDao‘ available
NoSuchBeanDefinitionException: No qualifying bean of type 'com.oscar.base.dao.MenuDao' available原创 2022-07-09 21:41:35 · 137 阅读 · 0 评论