maven第一次创建打包方式为war的项目报错下图的错,一般是第一次下载相关的文件时候出错,需要进入到maven的本地仓库中删除报错的文件,让它重新下载。 删除文件夹后,报错的项目右键选择maven>update project,重新下载该文件 下载完成后pom.xml文件还会有错误,如下图 解决方 ...
分类:
Web程序 时间:
2020-01-18 01:28:05
阅读次数:
110
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:
其他好文 时间:
2020-01-17 15:08:09
阅读次数:
93
1.explain(执行计划)中涉及的各字段理解1.1) select_type列的取值及含义: SIMPLE :简单的SELECT语句(不包括UNION操作或子查询操作) PRIMARY :查询中最外层的SELECT(如两表做UNION或者存在子查询的外层的表操作为PRIMARY,内层的操作为UN ...
分类:
数据库 时间:
2020-01-16 21:44:42
阅读次数:
87
C# 语言历史版本特性(C# 1.0到C# 8.0汇总) 历史版本 C#作为微软2000年以后.NET平台开发的当家语言,发展至今具有17年的历史,语言本身具有丰富的特性,微软对其更新支持也十分支持。微软将C#提交给标准组织ECMA,C# 5.0目前是ECMA发布的最新规范,C# 6.0还是草案阶段 ...
分类:
编程语言 时间:
2020-01-16 14:12:12
阅读次数:
85
首先,来介绍一下Oracle的overlaps函数的用法: overlaps函数是用来判断两个时间段是否有重叠的 比如说计算 (a,b),(c,d) 就可以写成: select * from dual where (a,b) overlaps (c,d); 其中abcd都是日期格式。 注意:比较的只 ...
分类:
数据库 时间:
2020-01-16 10:29:36
阅读次数:
87
有效的回文。题意很简单,验证给的input是否是一个有效的回文。例子, Example 1: Input: "A man, a plan, a canal: Panama" Output: true Example 2: Input: "race a car" Output: false 思路也很简 ...
分类:
其他好文 时间:
2020-01-15 09:24:11
阅读次数:
51
D - DFS HDU - 2660 I have N precious stones, and plan to use K of them to make a necklace for my mother, but she won't accept a necklace which is too ...
分类:
其他好文 时间:
2020-01-14 10:10:03
阅读次数:
75
链接: "https://nanti.jisuanke.com/t/42582" Description Bob is hungry now and he needs to eat some food. Alice puts n dishes of food in front of him, num ...
分类:
其他好文 时间:
2020-01-13 17:57:32
阅读次数:
88
查看执行计划explain 1.1 Explain命令:它可以对select语句进行分析,并输出select执行的详细信息,以对开发人员针对性优化 1.2 Explain的用法:在select语句前面加上explain即可,例如: 1.3explain参数说明 expain出来的信息有10列,分别是 ...
分类:
数据库 时间:
2020-01-12 20:13:53
阅读次数:
80
Given an array of characters, compress it in-place. The length after compression must always be smaller than or equal to the original array. Every ele ...
分类:
其他好文 时间:
2020-01-12 13:42:25
阅读次数:
92