Acknowledgments I would like to thank Jacob Kjome for reviewing early drafts of this document. His comments helped to clarify several important points. Jake also keeps reminding us on the log4j-dev mailing list that the child-parent delegation model…
Reproduce: Ctrl + H, Select "File Search", will encounter eclipse kinds of bug/error alert: problems encountered during text search Reason: It's because Ctrl + H by default will search disk files, and when the disk files get un-sync with eclipse…
打开Eclipse,弹出Android SDK content Loader has encountered a problem.parseSdkContent failed,当点击detail按钮,显示parseSdkContent failed java.lang.NullPointeException.反正在Eclipse的package explorer中的工程一直显示红叉. 这些提示完全是误导人的,从提示上看,是载入SDK出错,导致栈溢出.但重装Eclipse也没用.最后,是通过Sta…
Error The project was not built due to “Problems encountered while deleting resources.”. Fix the problem, then try refreshing this project and rebuilding it since it may be inconsistent. learndiary 删除classes,刷新工程,重新编译.…
昨天做了一个Android的小程序,调试的时候连接真实的手机,而不是用模拟器.今天早上打开eclipse的时候报错:“Android SDK Content loader has encountered a problem” “parseSdkContent Failed ”.原先设置的模拟器也不见了.我想了想原因,不清楚为什么,但是感觉跟我昨天连接手机有关系,一些原来的模拟设置变了. 后来在网上查了下,处理如下: 1.将C:\Documents and Settings\Administrat…
1) Download the SDK platform for API 20 (4.4W) 2) Navigate to your sdk folder (should be like D:\EclipseWorkspace\adt-bundle-windows-x86_64-20140321\sdk) 3) Go to platforms folder -> android-21 folder -> data folder 4) rename layoutlib.jar (for back…
http://www.cnblogs.com/bird-li/p/4696662.html ************************************************* 日志对于一个系统来说非常重要,查找异常信息.分析系统运行情况等都需要用到日志.所以无论是JDK还是第三方都提供了关于日志的相关工具,本文分别介绍以下几种工具,以及各种工具间的整合.原理. JDK的java.util.logging包 第三方日志工具(commons-logging/slf4j,log4j/l…
                java日志简单介绍 对于一个应用程序来说日志记录是必不可少的一部分.线上问题追踪,基于日志的业务逻辑统计分析等都离不日志.JAVA领域存在多种日志框架,目前常用的日志框架包括Log4j,Log4j 2,Commons Logging,Slf4j,Logback,Jul等. 一.java日志发展史 二.java 常用日志框架类别介绍 三.门面.实现.桥接 四.commons logging vs Slf4j 五. log4j vs logback 六. slf4j…
The Simple Logging Facade for Java (SLF4J) serves as a simple facade or abstraction for various logging frameworks, such as java.util.logging, logback and log4j. SLF4J allows the end-user to plug in the desired logging framework at deployment time. N…