eclipse常見錯誤

一、The superclass 「javax.servlet.http.httpservlet」 is not found in the build pathjava

  緣由:未添加server librarytomcat

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

 

2. jsp錯誤: requires that an attribute name is preceded by whitespacejsp

 引入的包格式出現問題ui

 

 

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

  在eclipse的workspace裏面找到該項目->.settings 文件夾->org.eclipse.wst.common.project.facet.core.xml
  更改servlet版本
server

相關文章
相關標籤/搜索