Eclipse SimpleTagSupport was not found on the Java Build Path

摘要: Here is the development environment

Here is the development environment

  1. Eclipse 4.3 Kepler
  2. Java 1.7
  3. Spring 3.2, a MVC project using JSP view.

1. Problem

Recently, Eclipse IDE is prompting following error message on top of all of the .tag file.

The superclass "javax.servlet.jsp.tagext.SimpleTagSupport" 
   was not found on the Java Build Path.

See figure :

P.S The SimpleTagSupport class is unable to find in Open Type CTRL + SHIFT + T.

2. Solution

The SimpleTagSupport is belong to jsp-api.jar, which is always inside your runtime container, for example ${tomcat}\lib. Not really sure what is the real problem behind, to fix it, try setting a runtimes for your project.

See figure :

Right click on your project, select “Properties” -> “Project Facets” -> “Runtimes” , select your runtime container. Done, rebuild and refresh your project.

References

  1. After Kepler Upgrade: javax.servlet.jsp.tagext.SimpleTagSupport not found

上一篇: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
下一篇: Java Get nameservers of a website
 评论 ( What Do You Think )
名称
邮箱
网址
评论
验证
   
 

 


  • 微信公众号

  • 我的微信

站点声明:

1、一号门博客CMS,由Python, MySQL, Nginx, Wsgi 强力驱动

2、部分文章或者资源来源于互联网, 有时候很难判断是否侵权, 若有侵权, 请联系邮箱:summer@yihaomen.com, 同时欢迎大家注册用户,主动发布无版权争议的 文章/资源.

3、鄂ICP备14001754号-3, 鄂公网安备 42280202422812号