1.Windows——>preferences——>compiler(编译器)
2.选中项目右键Properties——>java compiler
3.选中项目右键Properties——>Project Facets(项目构面)
三个版本保持一致!!!