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


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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



猜您在找 The method setItems(String) in the type ForTokensTag is not applicable for the arguments (Object) Eclipse中使用printf报错 提示参数类型不对 已解决The method printf(String, Object[]) in the type PrintStream is not ap JAVA克隆对象报错:The method clone() from the type Object is not visible List转String 报错:The method encodeBase64String(byte[]) is undefined for the type Base64 String 转 List> The type Date is ambiguous java之List转List> Thyemleaf报错: Method call: Attempted to call method *** on null context object 启动报错:Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous map
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM