我们在写日志的时候首先要获取logger,在每一个使用log4j的项目都有很多个地方要获取logger,这些logger是真实的被实例化的Logger对象,他们有可能被分散在无数不同的类中,日志体系结构讲的是这些logger对象是如何组织的,他们之间又有什么样的关系。 体系结构 我们举个具体的实例来 ...
分类:
其他好文 时间:
2017-03-29 22:30:27
阅读次数:
209
统一下单文档地址 2,支付结果回调,微信不保证会一定返回结果通知,正常会调用多次 ...
分类:
微信 时间:
2017-03-28 10:46:07
阅读次数:
2399
首先来看一下题目要求: 2.2 Draw a Line Implement your line rasterization algorithm in OpenGL. You can only use integer arithmetic in your code. Input: 2 2D point ...
分类:
编程语言 时间:
2017-03-27 00:19:01
阅读次数:
1004
1 func AddGroup(w http.ResponseWriter, req *http.Request) { 2 3 outputReq(req) 4 5 responseJson := map[string]interface{}{jsonKeyMessage: "", jsonKeyR ...
分类:
数据库 时间:
2017-03-26 16:06:05
阅读次数:
303
1. 下载地址 https://github.com/apereo/cas/archive/v4.2.7.zip 2. 解压后, 用intellj idea 打开 3. 执行 gradle build -x test ,打包编译 4. 取消https,能够支持直接http cas.propertie ...
分类:
编程语言 时间:
2017-03-26 01:10:03
阅读次数:
2567
// 通过GPS坐标取城市名 function getCityNameByLocation(lng, lat, callback) { // 参考:http://lbsyun.baidu.com/index.php?title=webapi/guide/webservice-geocoding $. ...
分类:
Web程序 时间:
2017-03-24 13:18:41
阅读次数:
415
严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [... ...
分类:
其他好文 时间:
2017-03-24 13:17:10
阅读次数:
287
一年前写了个Android APP,最近重新来写,结果换了个电脑导入项目悲剧了。 1.先是Tomcat问题 jdk tomcat部署环境就不说了。(如果Eclipse里没有Server选项卡,Help——install new software这里就不赘述了) 导入项目后Start Tomcat发生 ...
分类:
移动开发 时间:
2017-03-22 17:46:47
阅读次数:
225
git config --global http.proxy $http_proxy git config --global https.proxy $https_proxyref: http://stackoverflow.com/questions/20370294/could-not-reso ...
分类:
其他好文 时间:
2017-03-22 12:36:12
阅读次数:
366
声明:转载 http://www.cnblogs.com/ggjucheng/archive/2012/01/08/2316661.html 简介 Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多 ...
分类:
Web程序 时间:
2017-03-21 15:54:55
阅读次数:
178