右键项目-properties-java build path -libraries->remove(显示红叉的)->add Library -JRE -Server runtime
eclipse项目的package有错误
之后再刷新整个项目。

相关文章: