原因: 1、测试连接超时导致; 解决办法:修改spring中配置文件 spring.redis.timeout=800 ,调大超时时间 同时引入了lettuce和jedis的依赖导致的,项目中排出jedis的依赖并加入apache的 <dependency> <groupId>org.apache. ...
分类:
编程语言 时间:
2020-06-07 10:52:48
阅读次数:
108
话说,我最近一直在研究 MyBatis ,研究 MyBatis ,必然逃不了研究 Configuration 对象,这个对象简直是太重要了,它是 MyBatis 起步的核心环境配置,下面我们来一起看一下 Configuration 类 Configuration 的创建 如果你喜欢一个妹子,你是不是 ...
分类:
其他好文 时间:
2020-06-07 10:36:53
阅读次数:
53
Unix errno值、 只要一个Unix函数(如,某个套接字函数)中有错误发生,全局变量errno就被设置为一个指明该错误类型的正直,函数本身则通过返回-1. errno的值只在函数发生错误时被设置,如果函数不返回错误,errno的值就没有定义。 errno的所有证书错误值都是常值,具有以“E”开 ...
分类:
其他好文 时间:
2020-06-06 16:52:43
阅读次数:
76
Block element Block elements, or block-level elements, have a rectangular structure. By default, these elements will span the entire width of its pare ...
分类:
Web程序 时间:
2020-06-05 21:12:41
阅读次数:
89
1. veracity (quality) how correct the data is, shows if we can trust the data challenging因为易于发生,影响巨大且难以控制 2. variability variety指same data, different ...
分类:
其他好文 时间:
2020-06-05 14:47:57
阅读次数:
77
Mybatis 异常 报错信息: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for map ...
分类:
其他好文 时间:
2020-06-05 14:42:09
阅读次数:
46
from graphene.types.generic import GenericScalar # 定义一个查询语句 class Query(ObjectType): generic = GenericScalar() def resolve_generic(self, info): return ...
分类:
其他好文 时间:
2020-06-05 09:14:24
阅读次数:
161
Paginate 分页报错问题,是版本问题,部分数据结构改变,导致的 Unsupported operand types 1、修改 laravel-scout-elastic/src/ElasticsearchEngine.php public function getTotalCount($res ...
分类:
其他好文 时间:
2020-06-04 13:35:14
阅读次数:
88
在64位的机器上,intptr_t和uintptr_t分别是long int、unsigned long int的别名;在32位的机器上,intptr_t和uintptr_t分别是int、unsigned int的别名。 /* Types for `void *' pointers. */ #if ...
分类:
其他好文 时间:
2020-06-03 23:35:30
阅读次数:
162
服务器端: #include <stdio.h> #include <unistd.h> #include <sys/socket.h> #include <stdlib.h> #include <ctype.h> #include <arpa/inet.h> #include <sys/types ...
分类:
其他好文 时间:
2020-06-03 21:59:36
阅读次数:
94