前言
敲ssh遇到的错,由于错误不能重现,我直接把报错提示的日志帖下边了,就不贴图片了。
Multiple annotations found at this line: - javax.servlet cannot be resolved
Httpservlet cannot be resolved to a type
解决方案
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
即可。