码迷,mamicode.com
首页 >  
搜索关键字:cannot assign to sel    ( 19703个结果
LA 2038
Bob enjoys playing computer games, especially strategic games, but sometimes he cannot find the solution fast enough and then he is very sad. Now he h...
分类:其他好文   时间:2014-05-14 00:29:42    阅读次数:251
ios runtime 动态向类添加方法
1、定义C函数: void dynamicMethodIMP(id self, SEL _cmd) {     NSLog(@"蜗牛也疯狂"); } 2、重写函数+(BOOL)resolveInstanceMethod:(SEL)sel +(BOOL)resolveInstanceMethod:(SEL)sel {     class_addMethod([self ...
分类:移动开发   时间:2014-05-13 08:09:05    阅读次数:412
JavaScript实现弹窗报错
JavaScript实现弹窗报错 1、具体错误如下  SCRIPT 5022:cannot call methods on dialog prior to initialization;                           attempted to call method 'open'. 2、错误原因 3、解决办法...
分类:编程语言   时间:2014-05-13 07:01:27    阅读次数:463
ambari安装问题记录:Ambari Agent host cannot reach Ambari Server 'localhost:8080'.
在安装完ambari-server并配置之后,选定客户端进行指定安装的时候,发现总是遇到这一错误AmbariAgenthostcannotreachAmbariServer‘localhost:8080‘. 我看了一下错误日志发现在从ambari-server传送到客户端的setupAgent.py脚本的main函数中的参数设置老是不对,如下所示:156d..
分类:其他好文   时间:2014-05-13 00:58:06    阅读次数:598
http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed wit
异常:The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application 这是因为页面中用了struts标签的原因。 解决方法: 1。下载jstl1.1 解压后把lib文件夹下的jstl....
分类:编程语言   时间:2014-05-11 21:44:48    阅读次数:364
黑马程序员-OC内存管理 @property的增强
涉及到内存管理,只读,多线程等很多功能时,setter和getter方法也就没那么简单了;当然@property依然强大,很好用; 1:内存管理相关参数: *:retain: (如果是oc对象类型),生成的setter会自动release旧值,retain新值; *:assign:...
分类:其他好文   时间:2014-05-11 17:59:45    阅读次数:306
centos vsftp 500 OOPS: cannot change directory
CentO中把vsftpd安裝配置好了,以為大功告成,但用FTP 登入出現下錯誤:500 OOPS: cannot change directoryCentOS系統安裝了SELinux,因為預設下是沒有開啟FTP的服務。//查看SELinux設置# getsebool -a|grep ftpftp_...
分类:其他好文   时间:2014-05-09 22:59:08    阅读次数:351
报错:java.lang.Long cannot be cast to java.lang.Integer
Long 无法转化成Integer类型.    这个异常 经常出现在hinbernate分页查询的时候.  原因:          这里在Hibernate2.0之前版本list.get(0)返回的是Integer类型.          但是在Hibernate3.0以后版本list.get(0)返回的是Long类型.  解决方法 public Intege...
分类:编程语言   时间:2014-05-09 22:00:46    阅读次数:327
phpize报cannot find autoconf
phpize可以往php种追加新的模块 Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script....
分类:Web程序   时间:2014-05-09 21:06:27    阅读次数:375
* -[__NSArrayM insertObject:atIndex:]: object cannot be nil
程序运行时候崩溃,提示object cannot be nil Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil' 提示如上面。 请问怎么解决...
分类:其他好文   时间:2014-05-09 01:31:55    阅读次数:558
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!