eclipse常见错误

时间:2014-07-06 17:51:02   收藏:0   阅读:208

1、The superclass “javax.servlet.http.httpservlet” is not found in the build path

  原因:未添加server library

  解决:在工程的build path-》library中添加server runtime library

 

2. jsp错误: requires that an attribute name is preceded by whitespace

 引入的包格式出现问题

 

 

3. tomcat版本问题-Tomcat version 6.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 Web modules 

  在eclipse的workspace里面找到该项目->.settings 文件夹->org.eclipse.wst.common.project.facet.core.xml
  更改servlet版本

 

eclipse常见错误,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!