博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Syntax error, parameterized types are only available if source level is 1.5
阅读量:7089 次
发布时间:2019-06-28

本文共 431 字,大约阅读时间需要 1 分钟。

hot3.png

Multiple markers at this line

    - Syntax error, parameterized types are only available if source level is 1.5 or greater
    - Incorrect number of arguments for type HashMap<K,V>; it cannot be parameterized with 
     arguments <>

解决方法:

1,在eclipse中菜单Window----preferences----java-----compiler把右边中的Compiler compliance level改为1.6

2,右击项目,修改properties,找到java compiler修改compiler compliance level为1.6

转载于:https://my.oschina.net/fengJeen/blog/1581336

你可能感兴趣的文章
NGINX反向代理
查看>>
完整部署CentOS7.2+OpenStack+kvm 云平台环境(6)--在线调整虚拟机的大小
查看>>
[LeetCode] Sort Characters By Frequency 根据字符出现频率排序
查看>>
lower_bound与upper_bound
查看>>
vue2
查看>>
质量评估面面观--聊一聊软件上线前的质量评估
查看>>
Appfabric caching 使用半年总结
查看>>
20个代码生成框架
查看>>
树莓派3b配置耳机音频输出
查看>>
ES6 Class
查看>>
python -- lambda表达式
查看>>
在centos搭建git服务器时,不小心把/home/git目录删除了,我是怎么恢复的
查看>>
EM算法原理
查看>>
力软移动框架 ionic cordova插件jpush-phonegap-plugin 极光推送配置方法 vs2017
查看>>
H5触摸事件判断滑动方向
查看>>
ubuntu 安装监控系统软件工具netdata
查看>>
AI学习笔记之——强化学习(Reinforcement Learning, RL)
查看>>
CentOS6上Hadoop集群中服务器cpu sys态异常的定位与解决
查看>>
git mv使用
查看>>
[UWP小白日记-2]SQLite数据库DOME
查看>>