2016年7月18日

运行开源项目,报错Error:(48, 37) 错误: -source 1.6 中不支持 diamond 运算符,请使用-source 7或者更高版本已启用diamond运算符

摘要: 错误定位 当时并没有弄明白为什么会出错,一脸懵逼相 解决办法: 将source compatibility和target compatibility都改为1.7,重新build就ok了。 错误原因: 官方解释 You can replace the type arguments required t 阅读全文

posted @ 2016-07-18 16:34 不二家的瓶子 阅读(1195) 评论(0) 推荐(0) 编辑

导航