- 博客(17)
- 问答 (1)
- 收藏
- 关注
原创 canal1.1.5同步mysql数据时间问题:failed to parse field xx of type [date] in document with id xxx. Preview of
failed to parse field xx of type [date] in document with id xxx. Preview of field's value:xxx;
2024-07-02 17:26:32
311
原创 springboot 微信小程序实现发现一次性订阅消息
springboot使用wx-java-miniapp-spring-boot-starter实现小程序发送订阅消息推送,以及启动报错:me.chanjar.weixin.common.bean.WxAccessTokenEntity
2023-12-01 17:55:02
1478
1
原创 spring-data-elasticsearch @Field注解无效,亲测有效!
解决springboot2.3.x Spring Data Elasticsearch 4.0.x Elasticsearch 7.6.x @Field注解无效,,亲测有效!
2023-10-31 16:09:23
583
1
原创 Linux keepalived+nginx 实现高可用 Web 负载均衡
Linux keepalived+nginx 实现高可用 Web 负载均衡.
2023-09-06 17:51:31
142
1
原创 Field redisTemplate in xx required a bean of type ‘org.springframework.data.redis.core.RedisTemplate
Field redisTemplate in xxx required a bean of type 'org.springframework.data.redis.core.RedisTemplate' that could not be found.
2023-08-29 18:29:04
817
1
原创 springboot 整合redis报错
原因:SpringBoot1.4.7以上版本,则需要引入:spring-boot-starter-data-redis,1.4.7版本后,spring-boot-starter-redis已经被弃用。2、公共配置 spring.redis.timeout 的参数改为Duration类型,需要增加时间单位参数。1、spring.redis 底下除了公共的配置外,区分两个不同的实现,jedis及lettuce。3、spring-boot-starter-data-redis 新版默认是使用 lettuce。
2023-08-29 10:54:12
335
3
原创 springcloud 整合nacos
配置文件意思不做太多讲解,可以百度,也可以看上面的文章有一些讲解,这里面主要是你的 spring.application.name=application-localdev要跟你nacos配置的一样,spring.cloud.nacos.xx.namespace=xxxx,这个要跟你的命名空间一样,注意不要看成默认的public,如果你自己新建,记得点击新建的命名空间看。@Value就可以了读取到了。这里不做展示测试了,我自己测试没问题。nacos2.2.3版本,安装上面有教程,也可以自己百度。
2023-08-14 16:29:50
269
原创 解决SpringBoot整合Shiro 跨域问题及前端报错401问题解决——亲测有效!
解决SpringBoot整合Shiro 跨域问题及前端报错401问题解决——亲测有效!
2023-02-20 15:25:08
2972
原创 docker-compose.yml实现Mysql一主多从及一些报错问题解决
linux使用docker-compose.yml一台机器实现实现Mysql一主多从及一些报错问题解决
2022-12-06 17:08:02
1051
TA创建的收藏夹 TA关注的收藏夹
TA关注的人