Servlet问题:servlet cannot be resolved to a type解决办法

今天在myeclipse中导入一个javaweb项目一片红叉啊,看看鼠标停留在红叉上面,大多是

Multiple annotations found at this line:
- Undefined attribute name (required).
- javax.servlet.http cannot be resolved to 
a type
- Undefined attribute name (editable).


servlet-api.jar

jsp-api.jar

不多废话,这两个包在tomcat中,搜一下就看见了,导入到项目中就可以了,怎么导入就不唠叨了

你可能感兴趣的:(Servlet问题:servlet cannot be resolved to a type解决办法)