静态变量属于整个类,而不属于具体的某个对象。它的初始化不能通过构造函数或者参数表的方式定义,否则会出现error LNK2001: unresolved external symbol 静态变量的初始化必须在类外进行初始化数据类型类名::静态数据成员名=初值; 静态变量的调用可以直接通过类名::.....
分类:
编程语言 时间:
2014-06-28 23:58:19
阅读次数:
361
1.JLINK V8 error:flash download failed - could not load file:Options for Target 'Targer 1'下的菜单下Output选项里,Name of Executable可以有数字,命令也可以一数字开头,只是名字中不能含有小...
分类:
其他好文 时间:
2014-06-28 22:56:50
阅读次数:
294
Eclipse中调试的时候报错[2014-06-18 13:07:49 - DinnerBooker] The connection to adb is down, and a severe error has occured.[2014-06-18 13:07:49 - DinnerBooker]...
分类:
移动开发 时间:
2014-06-28 21:52:07
阅读次数:
287
Troubleshooting the SharePoint “File not found” Error Have you ever come across a “File Not Found” error when accessing some part of your WSS 3.0, MOS...
分类:
其他好文 时间:
2014-06-28 21:27:47
阅读次数:
301
du与df[root@CentOS5 samba]# dumpe2fs /dev/sda3|grep "Block size" 4096字节du 内容实际大小,以字节为单位,统计文件大小相加df 占用空间大小,以块为单位,统计数据块使用情况du -s命令通过将指定文件系统中所有的目录、符号链接和文件...
分类:
系统相关 时间:
2014-06-28 21:10:08
阅读次数:
292
做了2个action,其中一个运行没有问题,另一个报错,看下面的报错信息,再看了看struts.xml,因为没有给GetBooks这个action配置actionform,所以就导致报null。下面是有问题的struts.xml,其中主要的问题就是没有给GetBooks这个action配置actio...
分类:
编程语言 时间:
2014-06-21 10:58:41
阅读次数:
406
运行mahout in action上的cluster示例时报错:Error: Found interface org.apache.hadoop.mapreduce.Counter, but class was expected 确定是版本问题,我的hadoop版本是2.4,但mahout目...
分类:
其他好文 时间:
2014-06-18 11:07:10
阅读次数:
394
头文件unistd.h是Linux/Unix的系统调用,包含了许多UNIX系统服务函数原型,如open、read、write、_exit、getpid等函数。在linux下能够编译通过的包含此头文件的程序,在VC下编译时出现了如下问题 fatal error C1083: Cannot open i...
分类:
其他好文 时间:
2014-06-18 10:31:54
阅读次数:
244
Caused by: java.util.regex.PatternSyntaxException: Syntax error in regexp pattern near index 1:
E/AndroidRuntime(17429): }
E/AndroidRuntime(17429): ^
E/AndroidRuntime(17...
分类:
其他好文 时间:
2014-06-18 07:46:20
阅读次数:
216
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'articleDaoImpl': Injection of resou...
分类:
移动开发 时间:
2014-06-18 00:10:10
阅读次数:
923