Syntax error, annotations are only available if source level is 1.5 or greater
选择你的项目右键,选properties,然后如图修改保存