Syntax error, annotations are only available if source level is 1.5时间:2022-03-29 08:33:17在项目上右键 -> Properties -> Java Compiler