1、检查Build Path的jar包有没有失效的;
2、如果Build Path中jar显示正常,查看Problems信息框,如果提示jar包错误,则将对应文件夹下清空,然后重新Update project