错误: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.Could not resolve a ...
分类:
Web程序 时间:
2019-10-23 11:45:08
阅读次数:
87
导包: 一:文件下载 1:前台准备导出按钮 1.2 准备好view(beanName的视图解析器) 在applicationContext-mvc.xml 1.3:在DownloadController完成后台导出 二:上传功能 1:配置上传解析器注意,名字必需叫 multipartResolver ...
分类:
Web程序 时间:
2019-10-22 23:38:33
阅读次数:
166
最近在redhat 7上安装Python3.6.4之后,使用pip命令出现了问题,提示说找不到ssl模块,出现错误如下:pip is configured with locations that require TLS/SSL, however the ssl module in Python is ...
分类:
其他好文 时间:
2019-10-21 16:20:36
阅读次数:
130
最直观的方法是先排序再取中位数, 时间复杂度 $O(n\log n)$. 然而最近才得知中位数有时间复杂度 $O(n)$ 的算法, 事实上任意顺序统计量都可以用 $O(n)$ 时间找出. In Expected Linear Time 记待排序的数列 $A = [a_0, \dots, a_{n 1 ...
分类:
其他好文 时间:
2019-10-21 16:15:25
阅读次数:
105
List Java 的list又分为 ArrayList 和 LinkedList ArrayList iterator方法 该接口在HashSet中的实现相当的简单,可以看到iterator返回了keySet().iterator() HashMap的KeySet 从这一处代码可以看到iterat ...
分类:
编程语言 时间:
2019-10-20 16:23:41
阅读次数:
100
1)一定要绑定弹性IP 2)重启后可能ping不通,但用的还是以前的安全组,解决办法更换安全组,然后再换回来 3)在线扩容(不知道为什么我的不行) https://www.cnblogs.com/cidgur/p/8066564.html https://www.jianshu.com/p/5580 ...
分类:
其他好文 时间:
2019-10-18 12:22:52
阅读次数:
111
University of Technology SydneyFaculty of Engineering and Information TechnologySubject: 32547 UNIX Systems Programming, Spring 2019AssignmentDescript ...
分类:
其他好文 时间:
2019-10-16 20:16:00
阅读次数:
86
1、在往项目中插入图片资源时,放到对应目录,在文件中对应位置添加图片的路径,编译时出现以下错误,很是MB 2、经过查资料发现居然是一个 空格 导致的, 将 assets 前面的空格去掉,问题完美解决 ...
分类:
移动开发 时间:
2019-10-16 16:24:21
阅读次数:
149
题面 Given two integers $n$ and $x$, construct an array that satisfies the following conditions: ·for any element ai in the array, $1≤ai const int maxn ...
分类:
其他好文 时间:
2019-10-15 20:50:19
阅读次数:
69
unittest单元测试框架 重要的概念 1. TestCase TestCase 是最小的测试单元,用于检查特定输入集合的特定返回值。unittest提供了TestCase基类,我们创建的测试类需要继承该基类,它可以用来创建新的测试用例 2. TestSuite 测试套件是测试用例、测试套件或两者 ...
分类:
其他好文 时间:
2019-10-15 00:00:04
阅读次数:
115