Eclipse – SimpleTagSupport was not found on the Java Build Path

http://www.mkyong.com/eclipse/eclipse-simpletagsupport-was-not-found-on-the-java-build-path/



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 :

simpletagsupport-error

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 :

eclipse-facet-runtime

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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值