工程出現紅叉叉,報錯的信息是 Project facet Java 6.0 is not supported by target runtime Apache Tomcat v5.5.
解決的方法:window -> preferences -> server -> Runtime Environmenets
選中Apache Tomcat
點擊Edit,在彈出的窗口中配置JRE
工程出現紅叉叉,報錯的信息是 Project facet Java 6.0 is not supported by target runtime Apache Tomcat v5.5.
解決的方法:window -> preferences -> server -> Runtime Environmenets
選中Apache Tomcat
點擊Edit,在彈出的窗口中配置JRE