#######################类变量######################class Cloud @@count=0 def initialize(user,password,ip) @user = user @password ...
分类:
其他好文 时间:
2014-07-16 18:20:42
阅读次数:
234
问题: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
之前做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
import java.util.Scanner;/** * Created by Administrator on 14-5-13. * 计算斐波那契数列 * * Result M(Problem prob) { if () return ; // The problem cannot be so...
分类:
其他好文 时间:
2014-07-15 00:39:15
阅读次数:
408
前提:确保已经安装vc6或者vs系列我们可以再命令行直接编译c++程序在windows操作系统中,打开命令行,输入cl,若系统提示'cl' 不是内部或外部命令,也不是可运行的程序或批处理文件。则说明VS没有安装或者环境变量设置不正确,可以按照如下步骤设置:1. 确保已经安装VS,并在控制台 中键入s...
1.当执行此命令的时候ntpdate us.pool.ntp.org 出现一下错误提示name server cannot be used: Temporary failure in name resolution2.解决办法(添加DNS服务器)vi /etc/resolv.conf添加: name...
分类:
其他好文 时间:
2014-07-14 20:12:04
阅读次数:
272