Property "属性名" not found on object of type "类名"
来源:互联网 发布:mac 播放器 mplayerx 编辑:程序博客网 时间:2024/05/22 06:04
这个问题其实应该很少人会遇到的,昨天一个朋友刚进新公司,拉下代码就是这个错误。让我帮忙看一下。
然后点进去看一下是这样的:
command 点进这个属性,发现这个属性确实在:
我知道可能是有两个同样的文件在搞鬼,于是搜了一下文件:
然而只有这一个文件,点进去还确实有这个属性,很奇怪。这时候就要想,是不是有一个相同名字的文件只放在finder中并没有加到工程里面呢?
于是,我去finder中找了一下这个类名,果然:
左边的这对文件并没有加到工程中,并且打开.h文件中并没有这个属性。(这TMD谁干的)其他的都是一样的。
那么,问题找到了,果断把左边的删除,在编译:
成功解决!
阅读全文
1 0
- Property "属性名" not found on object of type "类名"
- java报错-->Property 'xxx' not found on type 包名.类名
- Property 'navigationController' not found on object of type '...'
- Property 'edgesForExtendedlayout' not found on object of type 解决方案
- Property 'edgesForExtendedlayout' not found on object of type
- 解决编译错误:Property 'value' not found on object of type '_strong id'
- Property 'XX' not found on type XXXX
- Field or property 'ROLE_USER' cannot be found on object of type 'org.springframework.security.web.ac
- 【spring-security】 Property or field 'ROLE_USER' cannot be found on object of type 'org.springframewo
- Property or field 'siteUrl' cannot be found on object of type 'xx'
- Property or field 'str' cannot be found on object of type 'com.yubai.EL.DemoService'
- 错误:Property or field 'default' cannot be found on object of type 'com.netflix.appinfo.InstanceInfo'
- 关于EL中属性不匹配Property 'Name' not found on type
- Property 'name' not found on type java.lang.String
- Property 'typeid' not found on type java.lang.String
- Property 'typeid' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'xxx' not found on type
- javax.el.PropertyNotFoundException: Property 'XXX' not found on type XXX
- node.js学习随笔——20170809
- Linux学习---1
- 虚拟币ico以及数字货币交易平台开发的利润究竟有多大?
- HDOJ 1232-畅通工程
- HTML&CSS基础篇之十一:字体与颜色样式
- Property "属性名" not found on object of type "类名"
- Python3 MySQL 数据库连接
- html5 video视频标签自适应手机样式
- python各个平台zbar安装
- 关于Spring的IOC容器的简单理解
- csdn如何转载别人的文章
- python的全局局部变量
- Linux那些事(5)-Linux用户与用户组
- Qt常用功能代码