'' operator is not allowed for source level below 1.7
这是eclipse的编译环境与项目的要求不对应造成的
右键项目properties--Java compiler--勾选Enable project specific settings--Compiler compliance level--选择1.7--OK
这是eclipse的编译环境与项目的要求不对应造成的
右键项目properties--Java compiler--勾选Enable project specific settings--Compiler compliance level--选择1.7--OK