会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
込戲冭氵罙
博客园
首页
新随笔
联系
管理
订阅
2018年11月23日
window 中安装 redis的遇到的一此bug
摘要: 一、下载 链接:https://github.com/MicrosoftArchive/redis/releases 说明: 如果是是下载msi版本的话会默认帮我们配置好测试 环境,如果是下载zip的话启动时要指定默认的配置文件,并且集群模式要修改配置文件的,每个节点一个配置文件,在这里就不多详述,
阅读全文
posted @ 2018-11-23 11:12 込戲冭氵罙
阅读(1788)
评论(1)
推荐(1)
2018年3月19日
mysql查询日期内的所有日期代码
摘要: 一、MYSQL查询最近的三个月份的简便方法:  二、sql查询两个日期内的所有日期 注意有个前提:必须要有一个表,它的数据条数大到足够支撑你要查询的天数
阅读全文
posted @ 2018-03-19 16:47 込戲冭氵罙
阅读(3223)
评论(0)
推荐(0)
2017年12月21日
maven项目中使用redis集群报错: java.lang.NumberFormatException: For input string: "7006@17006"
摘要: Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [redis.clients.jedis.JedisCluster]: Constructor threw exception
阅读全文
posted @ 2017-12-21 17:55 込戲冭氵罙
阅读(4406)
评论(2)
推荐(1)
java 连接 redis集群时报错:Could not get a resource from the pool
摘要: 由于弄这个的时候浪费了太多的时间,所以才记录下这个错,给大伙参考下 检查了一下,配置啥的都没问题的,但在redis集群机器上就可以,错误如下: Exception in thread "main" redis.clients.jedis.exceptions.JedisConnectionExcep
阅读全文
posted @ 2017-12-21 17:32 込戲冭氵罙
阅读(904)
评论(0)
推荐(0)
2017年12月19日
Exception in thread "main" redis.clients.jedis.exceptions.JedisDataException
摘要: 这个版本默认是开启了保护模式,进入redis的文件夹下的src 输入(前提是得开启redis服务): ./redis-cli config set protected-mode "no"
阅读全文
posted @ 2017-12-19 16:20 込戲冭氵罙
阅读(6730)
评论(0)
推荐(0)
Exception in thread "main" redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused (Connection refused)
摘要: 一、linux中配置redis,使用java连接测试时报错: Exception in thread "main" redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connecti
阅读全文
posted @ 2017-12-19 15:04 込戲冭氵罙
阅读(7124)
评论(0)
推荐(0)
2017年12月5日
eclipse 打开 maven项目,出现红色的感叹号
摘要: 解决: 选中有感叹号的项目右键,用maven>>update project解决。[然后我再添加java system 类库就可以了]
阅读全文
posted @ 2017-12-05 09:14 込戲冭氵罙
阅读(434)
评论(0)
推荐(0)
2017年9月15日
org.springframework.dao.DuplicateKeyException: a different object with the same identifier value was
摘要: 在使用hibernate框架里面的:saveOrUpdate报错: 意思就是另一个对象的id(id同值)已经被session关联了。 原因分析: 在第1步中中通过titleList.get(0)获取一个对象duty1,在第2步中将duty的dutyId设置成duty1的dutyId,而duty1本来
阅读全文
posted @ 2017-09-15 23:28 込戲冭氵罙
阅读(2260)
评论(1)
推荐(1)
2017年7月24日
Mac与Widow下编译与运行java文件引入多个外部jar包
摘要: 记录下,以后万一用得着呢 1、MAC环境下: 前提:在终端跳转到当前的源文件目录(cd xx), 并且配置好jdk,这里面不是重点 编译命令:注意连接用 : 号 运行命令:注意前面有个 .: 也和上面一样用 : 号连接 2、window环境下 编译:注意是用 ; 号连接 首先,如果报了编码的错误如下
阅读全文
posted @ 2017-07-24 23:21 込戲冭氵罙
阅读(1819)
评论(1)
推荐(2)
2017年6月25日
nginx 配置https 负载均衡
摘要: 1、Winodw安装openssl工具(生成SSL证书用的)免编译版本下载: http://slproweb.com/products/Win32OpenSSL.html 注意:如果openssl在使用过程中报无法读取conf文件,重启下电脑就好了 Cmd里面的全部命令: C:\OpenSSL-Wi
阅读全文
posted @ 2017-06-25 22:16 込戲冭氵罙
阅读(4249)
评论(1)
推荐(0)
下一页
公告