1.项目名-->右键
2.Build Path-->Connfigure Build Path...
3.Java Build Path --> Libraies -->Add Library-->Server Runtime
4.Apche Tomcat v7.0(选择自己的Tomcat版本)-->Finish
2.Build Path-->Connfigure Build Path...
3.Java Build Path --> Libraies -->Add Library-->Server Runtime
4.Apche Tomcat v7.0(选择自己的Tomcat版本)-->Finish