一:问题
二:打开windows->preferences->Server->Runtime Environments,点击Add:
三:添加对应的tomcat,点击Next:
四:选择tomcat安装路径:
五:点击finish,最后ok:
六:在项目上右键->build path->configure build path->java build path:
七:选择server runtime,点击next:
八:选择tomcat,最后finish:
总结:好记性不如烂笔头!!