1.在出现此错误的项目上单击鼠标右键》Build Path》Configure Build Path

 

参考:http://blog.csdn.net/testcs_dn/article/details/36455669