编译报错 :The method list(String, Object[]) is ambiguous for the type BaseHibernateDao<M,PK>

原因: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一下项目 重新编译即可。

posted on 2016-06-28 16:03  独臂刀客  阅读(3637)  评论(0编辑  收藏  举报

导航