Mysterious Eclipse JSP Validation Errors

前端 未结 16 1964
你的背包
你的背包 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:25

    I had the same problem, the problem is the jsp-api library, you can add the dependency to your pom (as explained in other answers) or you can also add the target run-time and eclipse will automatically add that library to your class-path:

    Project -> Properties -> Targeted Runtimes 
    

    And select your server.

提交回复
热议问题