1.右键项目,点属性(Properties); 2.java bulid path-->Libraries-->jre System Library; 3.Access Rules-->Edit; 4.找到错误的位置删除即可