问题原因,导入项目的jdk的你自己的jdk不一致,
解决方案:
右键工程,
选择build path->configure build path,
弹出的窗口里面选择libraries选项卡,
删除jar包,
选择自己电脑上的jar包