Servlet问题:servlet cannot be resolved to a type解决办法
2013-10-05 15:07
567 查看
今天在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中,搜一下就看见了,导入到项目中就可以了,怎么导入就不唠叨了
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解决办法
- Maven创建Web项目,jsp引入静态文件提示报错(javax.servlet.ServletException cannot be resolved to a type ) 解决办法
- HttpServlet cannot be resolved to a type 解决办法
- Eclipse jsp页面javax.servlet.jsp.PageContext cannot be resolved to a type 错误解决办法
- Eclipse javax.servlet.jsp.PageContext cannot be resolved to a type 错误解决办法
- (1.)javaweb问题解决之Httpservlet cannot be resolved to a type的原因与解决方法
- 【问题解决】Httpservlet cannot be resolved to a type的原因与解决方法
- javax.servlet.jsp.PageContext cannot be resolved to a type问题如何解决???
- jsp代码页面报:javax.servlet.jsp.PageContext cannot be resolved to a type错误的解决办法
- Eclipse javax.servlet.jsp.PageContext cannot be resolved to a type 错误玄学解决办法
- servlet cannot be resolved to a type解决办法
- Eclipse javax.servlet.jsp.PageContext cannot be resolved to a type 错误解决办法
- HttpServlet cannot be resolved to a type解决办法
- jsp页面出现“String cannot be resolved to a type”错误解决办法
- javax.servlet.ServletException cannot be resolved to a type错误解决方法
- 在Eclipse中编写servlet时出现"The import javax.servlet cannot be resolved" 问题解决办法
- 解决javax.servlet.jsp.JspException cannot be resolved to a type(JSP页面)
- 在Eclipse中编写servlet时出现"The import javax.servlet cannot be resolved" 问题解决办法
- android开发出现R cannot be resolved to a variable 问题解决办法之一
- maven中解决javax.servlet.jsp.PageContext cannot be resolved to a type