非常可能是因为tomcat的lib文件夹jar包和项目的lib文件下的jar包冲突了把项目下lib文件下和tomcat的jar的重复的全部删除。注意,如果你是先建flex工程然后转成web形式的,请把项目中tomcat类库删除,不然还会冲突第二种解决办法修改了tomcat里的context.xml文...
分类:
其他好文 时间:
2014-07-22 22:58:14
阅读次数:
159
问题:Error: [1146] ORA-01146: cannot start online backup - file 1 is already in backupORA-01110: data file 1: 'C:\ORACLE\ORADATA\ORCL8\SYSTEM01.DBF'以上问题...
分类:
数据库 时间:
2014-07-16 17:37:05
阅读次数:
398
今天在编写model时,突然发现了“Cannot assign to 'self' outside of a method in the init family”问题。后通过搜索解决了此问题,记录之。有时候我们重写父类的init方法时不注意将init后面的第一个字母写成了小写,在这个方法里面又调用父...
分类:
其他好文 时间:
2014-07-16 15:44:36
阅读次数:
193
一般情况下,yii框架的CActiveForm组建的提示是英文的,把它改成中文提示首先在main.php配置文件中,设置'language'=>'zh_cn';这样将会使得cannot be blank显示为不能为空然后再到相应的模型中添加相应的中文注释,这样,提示都将变成中文提示。
分类:
其他好文 时间:
2014-07-16 15:19:26
阅读次数:
221
W?i?n?d?o?w?s?2?0?0?3?建?立?F?T?P?服?务?器: W?i?n?d?o?w?s?2?0?0?3?建?立?F?T?P?服?务?器FTP连接报530User cannotloginhomedirectoryinaccessible的解决方法感谢分享:http:/...
分类:
数据库 时间:
2014-07-16 14:56:43
阅读次数:
213
1.Model compatibility cannot be checked because the EdmMetadata type was not included in the model. Ensure that IncludeMetadataConvention has been add...
分类:
Web程序 时间:
2014-07-16 13:44:15
阅读次数:
255
发现很多初学者无法区分bool和BOOL及class类型,今天闲来无事,写个博文做个区分
1. bool是C语言的布尔类型,有true和false,BOOL是Objective C 语言的布尔类型,有YES和NO,因为OC可以跟C混编,所以bool和BOOL可以同时出现在代码中
2. BOOL深入解析:
BOOL实际上是带符号的字符类型,存储空间为8位,所以如果把一个32位的整数赋给BOOL...
分类:
其他好文 时间:
2014-07-16 11:18:24
阅读次数:
180
之前做JavaEE的工程都是用的Myeclipse,没有用Eclipse 做过比较大的东西。 刚刚试了把别人的项目导入到自己的Eclipse里,吓尿,一百多个error。但大部分都是:HttpServlet cannot be resolved to a type之类的,要不就是JSP不能被r...
分类:
编程语言 时间:
2014-07-15 23:15:30
阅读次数:
332
[root@localhostLiveOS]#mountsquashfs.img/mnt/squashfs/mount:/mnt/sdb1/iso/LiveOS/squashfs.imgisnotablockdevice(maybetry`-oloop‘?)[root@localhostLiveOS]#mount-oloop/mnt/squashfs/mount:can‘tfind/mnt/squashfs/in/etc/fstabor/etc/mtab[root@localhostLiveOS]#mount..
分类:
其他好文 时间:
2014-07-15 10:53:58
阅读次数:
870
Javascript刷新页面的几种方法:1 history.go(0)2 window.location.reload() window.location.reload(true) 3 location=location4 location.assign(locati...
分类:
Web程序 时间:
2014-07-14 19:27:45
阅读次数:
259