- 博客(13)
- 收藏
- 关注
原创 微信jssdk实现人脸拍照的代码和出现错误解决
jssdk官方文档:https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115微信测试公众号申请:https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=sandbox/login微信测试公众号配置:前端代码: 需要导入js,具体步骤,注释都在文档...
2019-09-06 17:37:08
1280
1
原创 解决ssm启动报错java.util.zip.ZipException;ERROR: JAVA_HOME is set to an invalid directory.等
公司的项目,从svn上面下载下来tomcat启动报错:java.util.zip.ZipException: invalid LOC header (bad signature)(具体报错关联信息非常多...)后来通过 idea或者cmd 中执行 mvn -v 指令报错信息:ERROR: JAVA_HOME is set to an invalid directory...
2019-09-06 16:40:23
264
原创 关于spring的面试题
https://blog.youkuaiyun.com/a745233700/article/details/809597161、Spring是什么?它是基于IOC容器和AOP容器的框架2、Spring 的优点?应用IOC设计原则,减低计算机代码的耦合性简单:快捷:安全:容易理解:3、Spring的AOP理解:AOP:面向切面编程原理:将项目中...
2019-08-11 19:28:43
213
原创 Mysql
1)Mysql 5.7 错误号码1862 Your password has expired. To log in you must change it using a client...https://blog.youkuaiyun.com/supercrsky/article/details/644436182)报错:java.lang.ClassNotFoundException: com...
2019-08-11 16:22:21
120
原创 并查集
概念代码:https://www.cnblogs.com/hapjin/p/5478352.html有趣的比喻理解:https://blog.youkuaiyun.com/tkzc_csk/article/details/82050359package three; public class DisjSets { private int[] s; private in...
2019-07-14 16:12:38
95
原创 二叉堆相关
二叉堆博客:https://www.cnblogs.com/kubidemanong/p/9711705.html二叉堆的特点: 1.具有完全二叉树的特征:https://www.cnblogs.com/daniumeng/p/8598097.html 满二叉树是一颗特殊的完全二叉树,但完全二叉树不一定是满二叉树 完全二叉树,除了最...
2019-07-14 11:39:52
277
原创 浅谈使用单元素的枚举类型实现单例模式
对于最有一个例子没看懂详情参考:https://blog.youkuaiyun.com/huangyuan_xuan/article/details/52193006饿汉式模式:线程不安全,不能延迟加载public class SingletonA{ private staticSingletonA singletonA = newSingletonA(); pr...
2019-07-13 14:13:53
148
转载 map与json互转
json-lib<dependency><groupId>net.sf.json-lib</groupId><artifactId>json-lib</artifactId><version>2.4</version>...
2019-07-12 20:47:55
381
转载 hashmap
HashMap概述HashMap是基于哈希表的Map接口的非同步实现。此实现提供所有可选的映射操作,并允许使用null值和null键。此类不保证映射的顺序,特别是它不保证该顺序恒久不变。HashMap的数据结构在Java编程语言中,最基本的结构就是两种,一个是数组,另外一个是模拟指针(引用),所有的数据结构都可以用这两个基本结构来构造的,HashMap也不例外。HashMap实际...
2019-07-12 12:50:17
113
原创 modCount的作用和原理
modCount 一般出现在ArrayList,LinkedList,HashMap等等这类线程不安全类的增删改中 ,所以modCount肯定与线程安全有关,阅读源码,发现其只有在本数据结构对应迭代器中才使用,以HashMap为例: private abstract class HashIterator<E> implements Iterator<E> { ...
2019-07-12 12:37:13
1004
原创 关于maven项目页面转发HTTP Status 500
页面提示:HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionorg.apache.jasper.JasperException: Una...
2018-05-22 10:25:03
1489
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅