eclipse项目java版本更改 然后。右键点击项目->properties->Java Compiler->....如图 最后,右键点击项目->properties->Project Facets->....如图