1 public static void main(String[] args) { 2 String s1 = "ni"; 3 String s2 = "hao"; 4 String s3 = "nihao"; 5 String s4 = "ni" + "hao"; 6 String s5 = s ...
分类:
其他好文 时间:
2020-03-10 13:52:28
阅读次数:
65
错误背景:本地能够正常启动和调试应用,就是打包构建失败。 详细错误信息如下: [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] 'artifactId' is missing. @ li ...
分类:
其他好文 时间:
2020-03-08 20:16:46
阅读次数:
135
1.导jar包 1 <dependency> 2 <groupId>org.springframework</groupId> 3 <artifactId>spring-context-support</artifactId> 4 <version>4.3.25.RELEASE</version> ...
分类:
编程语言 时间:
2020-03-08 17:19:29
阅读次数:
66
错误详情: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCer ...
分类:
编程语言 时间:
2020-03-07 13:14:38
阅读次数:
77
从这里找的一个宝贝源码,可以大大缓解内存问题。https://www.kaggle.com/arjanso/reducing dataframe memory size by 65/code ...
分类:
其他好文 时间:
2020-03-06 23:40:50
阅读次数:
117
1 """ 2 Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. 3 get(key) ...
分类:
系统相关 时间:
2020-03-06 22:05:50
阅读次数:
100
4.9 多表单切换 在 Web 应用中经常会遇到 frame/iframe 表单嵌套页面的应用,WebDriver 只能在一个页面上对元素进行识别和定位,无法直接定位 frame/iframe 表单内嵌页面上的元素,这时就需要通过 switch_to.frame()方法将当前定位的主体切换为 fra ...
缺失的第一个正数。题意是给一个未排序的整数数组,找出其中没有出现的最小的正整数。例子, Example 1: Input: [1,2,0] Output: 3 Example 2: Input: [3,4,-1,1] Output: 2 Example 3: Input: [7,8,9,11,12] ...
分类:
其他好文 时间:
2020-03-06 10:59:55
阅读次数:
66
XML不引用定时任务的配置,在web.xml引用即可,避免加载两次 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http:// ...
分类:
其他好文 时间:
2020-03-06 09:18:15
阅读次数:
61
算法特征:①. 所有点正确分开; ②. 极大化margin; ③. 极小化非线性可分之误差. 算法推导:Part Ⅰ线性可分之含义:包含同类型所有数据点的最小凸集合彼此不存在交集.引入光滑化手段:plus function: \begin{equation*}(x)_{+} = max \{ x, ...
分类:
编程语言 时间:
2020-03-05 13:30:27
阅读次数:
123