项目右键-->Properties-->Java Build Path-->Libraries-->Add Library...-->Server Runtime-->Apache Tomcat v6.0。
如果在Server Runtime中没有任何item可选,则执行Window-->Perferences-->Server-->Runtime Environments-->Add...。
转载于:https://www.cnblogs.com/jfei/p/4587858.html
项目右键-->Properties-->Java Build Path-->Libraries-->Add Library...-->Server Runtime-->Apache Tomcat v6.0。
如果在Server Runtime中没有任何item可选,则执行Window-->Perferences-->Server-->Runtime Environments-->Add...。
转载于:https://www.cnblogs.com/jfei/p/4587858.html