摘要: springboot4.0 redis序列化相关源码,定义接口时使用了static,只需要实现serialize 和 deserialize 方法 这里使用了,工厂方法,和静态工厂模式,后续使用相关方法时,只需要注入接口调用相关方法就可以了 如 阅读全文
posted @ 2025-12-18 13:38 2022——new_start 阅读(9) 评论(0) 推荐(0)
摘要: springboot4.0配置redis缓存时,不指定序列化方式时,使用spring-boot-devtools 会报转换类异常 Thu Dec 18 12:58:14 CST 2025 There was an unexpected error (type=Internal Server Erro 阅读全文
posted @ 2025-12-18 13:29 2022——new_start 阅读(4) 评论(0) 推荐(0)
摘要: 最近在使用新框架SpringBoot + shiro + spring-data-jpa时,为了体验下spring自带的热部署工具的便捷,于是引入了 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring 阅读全文
posted @ 2025-12-18 11:55 2022——new_start 阅读(42) 评论(0) 推荐(0)