编译报错 :The method list(String, Object[]) is ambiguous for the type BaseHibernateDao<M,PK>
2016-06-28 16:03
633 查看
原因:eclipse 的个bug,具体见http://stackoverflow.com/questions/10852923/method-is-ambiguous-for-the-type-but-the-types-are-not-ambigues-and-the-error 。
解决方法:在eclipse.ini -vmargs后面添加 -DtolerateIllegalAmbiguousVarargsInvocation=true ;重启eclipse,并clean一下项目 重新编译即可。
解决方法:在eclipse.ini -vmargs后面添加 -DtolerateIllegalAmbiguousVarargsInvocation=true ;重启eclipse,并clean一下项目 重新编译即可。
相关文章推荐
- Objective-C Runtime 运行时之二:成员变量与属性
- 用protobuf编译时报错:protoc: error while loading shared libraries: libprotoc.so.9: cannot open shared object file: No such file or directory 的解决方法
- Quartz2D简单使用(二)
- Objective-C Runtime 运行时之一:类与对象
- superobject 数组增加
- Rsa加密,提示 object is already exists.
- Android ObjectAnimator基础用法
- python: cannot open shared object file: No such file
- 论Object.creat
- 【Objective-C】06-点语法
- @synchronized(self)的作用
- AES加密解密通用版Object-C / C# / JAVA
- Object类&泛型数组列表(Java核心卷1-D5)
- Objective-C ---Category
- Objective-C学习笔记
- objective-C中的Class(类类型),Selector(选择器SEL),函数指针(IMP)
- json,jsonObject , jsonArray 详解
- 图片拉伸的几种方式
- [Javascript] bukld 'SQL' like object tree
- Objective-C中的布尔类型