xml读取异常Invalid byte 1 of 1-byte UTF-8 sequenceorg.dom4j.DocumentException:Invalidbyte1of1-byteUTF-8sequence.Nestedexception:Invalidbyte1of1-byteUTF-8s...
分类:
其他好文 时间:
2014-11-09 19:27:49
阅读次数:
161
软件工程的大泥球(原文地址:http://www.laputan.org/mud/) 大泥球的定义:ABIG BALL OF MUDis a casually, even haphazardly, structured system. Its organization, if one can ca....
分类:
其他好文 时间:
2014-11-09 19:25:45
阅读次数:
273
我也是从网上看到的这种解决办法。
遇到这种情况后,通过dmesg看一下内核日志。
如果发现有如下日志,那就好办了。
hello: version magic '2.6.33.3 ' should be '2.6.33.3-85.fc13.i686.PAE SMP mod_unload 686 '
修改内核源码文件include/linux/vermagic.h
把如下VERMAGIC...
分类:
其他好文 时间:
2014-11-09 16:40:55
阅读次数:
113
We have 8 numbers. Sort as ascend.1st loop, we compare 7 times (for 8 numbers), and found the largest 8.2nd loop, we compare 6 times (for 7 numbers), ...
分类:
其他好文 时间:
2014-11-09 12:24:42
阅读次数:
184
---恢复内容开始---在照彭武兴先生的《PHP(PHP培训php教程) BIBLE》中所述,header可以送出Status标头,如header("Status: 404 Not Found");?>就可以让用户浏览器出现文件找不到的404错误,但是我试了这样是不行的。后来我到w3.org上查了h...
分类:
Web程序 时间:
2014-11-08 15:08:17
阅读次数:
161
class BooleanField(Field): empty_strings_allowed = False default_error_messages = { 'invalid': _(u"'%s' value must be either True or Fals...
分类:
其他好文 时间:
2014-11-08 07:02:30
阅读次数:
256
之前没有接触过WCF,这两天学习中。把遇到的问题和解决办法记下来。遇到的问题:(1).HTTP 错误 404.17 - Not Found请求的内容似乎是脚本,因而将无法由静态文件处理程序来处理(2).HTTP 错误 500.21 - Internal Server Error处理程序“svc-.....
分类:
其他好文 时间:
2014-11-07 20:41:13
阅读次数:
305
最近碰到一个问题,把解决的过程记录下来。
故障原因
同事的应用上线,Tomcat无法正常启动。抛出这样的异常:
org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:|PropertyAccessException 1: org.springframewo...
分类:
其他好文 时间:
2014-11-07 19:04:57
阅读次数:
581
var NeedStr : TStringList;begin NeedStr := TStringList.Create;.....try ......tinally needstr.free; ///如果needstr值为nil时,直接释放会产生invalid pointer operation...
After launching MacVim you may get this annoying error message:'Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded...
分类:
Web程序 时间:
2014-11-07 18:24:52
阅读次数:
180