11 2021 档案

摘要:Java 操作 Redis 的库有两个,Jedis 和 Lettuce,目前 SpringBoot 2.x 中已经将 Jedis 换成了 Lettuce 原因:Lettuce的连接redis太久没有操作,被强制关闭连接。 可以在spring-boot-starter-data-redis 查看是引用 阅读全文
posted @ 2021-11-24 17:46 ☆♂安♀★ 阅读(1681) 评论(0) 推荐(0) 编辑
摘要:zkServer.sh status 命令查看zookeeper集群的状态,发现异常 Error contacting service. It is probably not running 最开始以为是server配置的myid有问题,后面看了下zookeeper.out文件,发现连接不到端口,有 阅读全文
posted @ 2021-11-17 23:45 ☆♂安♀★ 阅读(147) 评论(0) 推荐(0) 编辑
摘要:import org.springframework.beans.BeansException;import org.springframework.context.ApplicationContext;import org.springframework.context.ApplicationCo 阅读全文
posted @ 2021-11-16 18:36 ☆♂安♀★ 阅读(22) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <configuration scan="true" scanPeriod="10 seconds" debug="false"> <!--上下文名称--> <contextName>logback</contextNam 阅读全文
posted @ 2021-11-12 18:13 ☆♂安♀★ 阅读(46) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示