XML读取异常Invalidbyte1of1-byteUTF-8sequence.用xstream进行JavaBean与xml之间的转换,无法设定字符集编码格式,会导致上述异常。解决方法:org.w3c.dom(java dom)解析xml文档,在此仅列出write方法: 1 public stat...
分类:
其他好文 时间:
2014-07-01 21:36:09
阅读次数:
241
FNRCS0005E: SECURITY_INVALID_CREDENTIALS
分类:
其他好文 时间:
2014-07-01 17:05:43
阅读次数:
259
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array....
分类:
其他好文 时间:
2014-07-01 15:22:44
阅读次数:
140
com.mysql.jdbc.Driverjdbc:mysql://localhost:3306/h01root123org.hibernate.dialect.MySQL5Dialecttruetruenone这两行换下位置即可
分类:
移动开发 时间:
2014-07-01 11:40:01
阅读次数:
273
今天遇到了一个奇葩的问题,我把我的sdk tools的版本升级到23后,我在eclipse中尝试升级ADT,发现了这么一个问题,下面分析下原因:
当我在eclipse中选择Help-->Check for updates时,会弹出一个框,如下:
首先解释下这个错误出现的原因:
Eclipse在check for updates时,是根据下图列表中所有的Available Softwa...
分类:
系统相关 时间:
2014-07-01 11:13:52
阅读次数:
441
因为项目用到了ehcache,所以tomcat每次启动日志就打印net.sf.ehcache.util.UpdateChecker doCheck
以前也没有特别留意,今天在启动 Tomcat 的时候,发现了下面这段输出的信息:
{INFO } [2014-06-30 07:42:10,625] : New update(s) found: 2.6.5 [http://www.terracotta.org/confluence/di...
分类:
Web程序 时间:
2014-07-01 07:59:56
阅读次数:
262
上回书说道:灰常灰常基本的数据类型
下面咱们来点高级的:
Tuples 元组
元组存储一对键值,并且没有类型限制
let http404Error = (404, "Not Found")
// http404Error is of type (Int, String), and equals (404, "Not Found")书上废话一堆,反正元组就是这么写,上面的例子还...
分类:
其他好文 时间:
2014-07-01 06:55:09
阅读次数:
236
Foreword
Fortunately, I met “ExtJS” in earlier afternoon, the feeling justlike my encounter with “REST” Actually, at beginning, I had no idea about them,but when I got in touch with REST, I found i...
分类:
Web程序 时间:
2014-06-30 20:09:27
阅读次数:
411
本题要求从输入的N个整数中查找给定的X。如果找到,输出X的位置(从0开始数);如果没有找到,输出“Not Found”。
输入格式:
输入在第1行中给出2个正整数N(
输出格式:
在一行中输出X的位置,或者“Not Found”。
输入样例1:
5 7
3 5 7 1 9
输出样例1:
2
输入样例2:
5 7
3 5 8 1 9
输出样例2:
N...
分类:
其他好文 时间:
2014-06-30 17:26:19
阅读次数:
161
SDK和ADT为22.6.2版本
工程为4.4.2
在编译一个Launcher时,报错如下:
sh ndk-build clean
Cannot run program "sh": Launching failed
Error: Program "sh" not found in PATH
PATH=......
在网上看了一下,一直以为是什么GCC的问题,多次...
分类:
系统相关 时间:
2014-06-30 15:45:40
阅读次数:
1319