osx中如果你安装的是7即以上版本的jdk,是无法正常打开idea的,需要修改idea的配置。 打开idea包下的info.plist文件,找到: <key>JVMVersion</key>
<string>1.6*</string> 并替换为: <key>JVMVersion</key>
<s...
分类:
其他好文 时间:
2014-11-08 10:36:59
阅读次数:
173
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
最近碰到一个问题,把解决的过程记录下来。
故障原因
同事的应用上线,Tomcat无法正常启动。抛出这样的异常:
org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:|PropertyAccessException 1: org.springframewo...
分类:
其他好文 时间:
2014-11-07 19:04:57
阅读次数:
581
1 string signature = Request["signature"]; 2 string timestamp = Request["timestamp"]; 3 string nonce = Request["nonce"]; 4 5 List list = new Lis...
分类:
微信 时间:
2014-11-07 18:51:58
阅读次数:
717
var NeedStr : TStringList;begin NeedStr := TStringList.Create;.....try ......tinally needstr.free; ///如果needstr值为nil时,直接释放会产生invalid pointer operation...
今天用Delphi编写了个dll,用到了TStringList来传递多参数,如下:[delphi] view plaincopy01.function DBM_SetParam(procName: string; paramValues: TStringList = nil): Boolean;s....
//导入这个就行了#import //没有导包的时候,提示如下:Implicit declaration of function 'CC_MD5' is invalid in C99CC_MD5( cStr, strlen(cStr),result);
分类:
其他好文 时间:
2014-11-07 12:57:38
阅读次数:
179
错误: "Invalid 9-patch, cannot be less than 3 pixels in a dimension"本文地址: http://blog.csdn.net/caroline_wendy错误: "Invalid 9-patch, cannot be less than 3 pixels in a dimension: Invalid 9-patch, cannot be...
分类:
移动开发 时间:
2014-11-07 08:41:05
阅读次数:
319
在xml布局文件中使用Switch控件时,出现error: invalid symbol: 'switch'报错,代码如下: 原因是在设置其id时使用了关键字(如switch,case等),将其替换成非关键字即可。
分类:
其他好文 时间:
2014-11-07 00:50:32
阅读次数:
201
"No result defined for action ... and result input"错误一般发生在Struts2的拦截器拦截时遇到了问题时,Struts2会将跳转到result为input的视图上,但是在配置文件中并没有给这个Action配置input的result。可以建立一个内容为如下的Jsp文件,并在配置文件中配置result为input时跳转此文件,将会显示出具体的错误原...
分类:
其他好文 时间:
2014-11-06 22:08:59
阅读次数:
222