myeclipse 添加服务器运行时环境

像servlet-api.jar、servlet-api.jar服务器能提供的包

解决方法如下:
1,File->New->Other->Server->Server(注意在new时,需要勾上Show All Wizards),下一步,选择Apache,Tomcat v7.0 Server,点击finish。
2,项目右键->Properties->Java Build Path->Libraries->Add Library->Server Runtime(MyEclipse incompatible)->next->Tomcat v7.0 Server->Tomcat v7.0 Server
即可。

posted @ 2016-05-05 09:54  devin.ding  阅读(416)  评论(0编辑  收藏  举报