报错如上图。

解决:

项目右键->Build Path->Configure Build Path ->

   -> OK