Mysterious Eclipse JSP Validation Errors

前端 未结 16 1984
你的背包
你的背包 2021-01-30 08:50

Eclipse (Helios) occasionally marks valid looking JSP content as having errors. It seems like it often breaks when I use the tag. For example, in a JSP with just th

16条回答
  •  长情又很酷
    2021-01-30 09:06

    In order to fix:
    - javax.servlet.jsp.* needs jsp-api.jar
    - javax.servlet.http.* needs servlet-api.jar

    You need to add these libraries to Java Build path in project setup. These libraries can be found in tomcat/lib directory (for Tomcat 6.0).

提交回复
热议问题