今天在把自己的项目转为maven架构的时候,居然碰到了一个很奇葩的问题具体如下:org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 23 in XML document from class pat....
分类:
编程语言 时间:
2014-12-10 17:55:32
阅读次数:
1240
1.Uncaught SyntaxError: Unexpected token {--原因是,后台返回的json数据不合法 如:---错误:return callbak + "{\"result\":\"000000\"}";-----两边少了一对括号 ---正确:return callb...
分类:
Web程序 时间:
2014-12-08 19:15:16
阅读次数:
192
今天在eclipse中编写pom.xml文件时,注释中的中文被eclipse识别到错误:Invalid byte 1 of 1-byte UTF-8 sequence,曾多次遇到该问题,问题的根源是: The cause of this is a file that is not?UTF-8?is bein...
分类:
其他好文 时间:
2014-12-07 15:12:46
阅读次数:
183
如果编写的判断式不满足strict weak ordering,就会出现Invalid operator< assertion error错误。网页:http://support.microsoft.com/kb/949171VS(其他编译器还没试过)中,sort函数要求比较函数是strict we...
分类:
其他好文 时间:
2014-12-06 20:13:54
阅读次数:
182
在使用Convert.ToBase64String()对字符串进行Base64编码时,注意的几点: 例:string s = "Hello"; byte[] bytes = Convert.FromBase64String(s); 以上代码在运行时会抛出FormatException异常.提示...
分类:
其他好文 时间:
2014-12-06 16:38:00
阅读次数:
158
iOS提交时出现这个错误的解决办法. This bundle is?invalid. Apps that include arm64 architecture cannot have MinimumOSVersion set to less than ‘5.1.1’.More information about 64-bit support for iOS ...
分类:
移动开发 时间:
2014-12-06 15:32:55
阅读次数:
194
错误描述 最近在研究office在线预览,用到mvc4 apicontroller 需要传参是文件名,如test.docx导致错误“指定的目录或文件在 Web 服务器上不存在”, 请求的路径如:api/wopi/files/test.docx?access_token=access_token。如下...
分类:
Web程序 时间:
2014-12-05 19:10:32
阅读次数:
350
fs.readFile('c:\\tmp\\helloworld.txt','utf8',function(err,data){console.log(data);}) var token=fs.readFileSync('c:\\tmp\\toekn.txt','utf8'); fs.wri...
分类:
Web程序 时间:
2014-12-05 16:51:42
阅读次数:
207
1. Using an NFC-equipped mobile phone asa token in physical access control http://essay.utwente.nl/65419/1/thesis_nfc_martijn_bolhuis_final.pdf2. NFC....
分类:
Web程序 时间:
2014-12-05 16:50:22
阅读次数:
271
之前所写的那篇获取优酷网网络播放地址M3U8的方法在7月份已经失效,8月份开始优酷公司采取了一种新的策略,新的策略上对应的M3U8的地址拼接为:http://pl.youku.com/playlist/m3u8?vid=xxx&type=mp4&ep={$ep}&sid={$sid}&token={$tk}&ctype=12&ev=1&oip={$oip},跟之前不同的是多出了很多参数值,这些想获...
分类:
Web程序 时间:
2014-12-05 14:17:41
阅读次数:
190