数据源配置时加上编码转换格式后出问题了: The reference to entity"characterEncoding" must end with the ';' delimiter 这个错误就是 context.xml中设置数据源链接URL的问题 <context-param> <para ...
分类:
数据库 时间:
2020-04-25 17:32:15
阅读次数:
99
实体映射时,遇到复杂类型,可选择下述方法处理: NotMapped,跳过映射 在复杂类型上声明 [Owned],但仅限该复杂类型是全部由简单值类型组成的 自定义序列化方法 示例: IPInfo使用了owned,对IPEndPoint使用自定义序列化,对VersionInfo使用JSON序列化 @@@ ...
分类:
其他好文 时间:
2020-04-17 09:29:47
阅读次数:
98
Hadoop安装,在格式化时有错误 [Fatal Error] core-site.xml:1:8: Element type "meNode" must be followed by either attribute specifications, ">" or "/>".20/04/16 10: ...
分类:
其他好文 时间:
2020-04-17 00:15:56
阅读次数:
105
Given a 2D board and a list of words from the dictionary, find all words in the board. Each word must be constructed from letters of sequentially adja ...
分类:
其他好文 时间:
2020-04-16 10:31:28
阅读次数:
82
es 可以组合查询 must:查询必须匹配搜素条件 比如数据库中的and should :查询 至少 满足条件 比如数据库中的or must_not: 不匹配查询条件,一个都不要满足 must must_not should 至少要包含一个条件 复合查询 ...
分类:
编程语言 时间:
2020-04-14 22:15:06
阅读次数:
100
今天在做好友请求删除 接受的时候,能显示好友列表,后端逻辑都正常,但点删除按钮,就是出现上述错误。 1. 先百度了,字面意思,id 保存前要先初始化。【我这都已经存在这个Id了,况且点的是删除按钮。】 2. 然后我开始排查,检查前端代码,传参,请求url都能对上,所覆盖的innerHTML 也正确, ...
分类:
其他好文 时间:
2020-04-14 18:59:52
阅读次数:
80
Signals of most probably extra-terrestrial origin have been received and digitalized by The Aeronautic and Space Administration (that must be going th ...
分类:
其他好文 时间:
2020-04-13 12:16:36
阅读次数:
87
Problem : Given two non negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: 1. The length of both num1 and n ...
分类:
其他好文 时间:
2020-04-11 23:42:02
阅读次数:
75
导读 在第二节,我们学习了Gin框架的路由定义与参数接收,今天应一位同学的要求,来讲解一下参数的绑定与校验。 为什么校验参数? 本不必抛出这个问题的,但顾及到初出茅庐的同学,这里解释一下。 假设做一个注册接口,传过来的用户名是不是不能太骚气?比如一堆空格和符号之类的;密码是不是不能太长也不能太短?手 ...
分类:
其他好文 时间:
2020-04-10 17:16:24
阅读次数:
98
Farmer John has decided to reward his cows for their hard work by taking them on a tour of the big city! The cows must decide how best to spend their ...
分类:
其他好文 时间:
2020-04-10 15:56:32
阅读次数:
76