引入系统类库
1、第一步:项目,右键,build path,remove报错的类库
2、第二步:项目,右键,build path→Add Library→JRE System Library,Next
3、添加JDK
4、Finish