工程出现红叉叉,报错的信息是 Project facet Java 6.0 is not supported by target runtime Apache Tomcat v5.5.

解决的方法:window -> preferences -> server -> Runtime Environmenets

选中Apache Tomcat 

点击Edit,在弹出的窗口中配置JRE