Main Tutorials

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.

References

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

About Author

author image
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments

Subscribe
Notify of
8 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
hottadi
9 years ago

unfortunately. This didn’t work. I see see the error.

Komal
2 years ago

Yes. This worked ….thank you for your support sir

son dao an
3 years ago

yeah thanks you

MD RANA
3 years ago

when i solve this, servlet not found

Zacaria
8 years ago

Hi, there’s a typo at :

2. SolutionThe SimpleTagSupport is belong to

should be : belongs to

Joe
8 years ago

Thank you, I was surprised that this did the trick!

SS
8 years ago

Thanks

jey350
9 years ago

worked 🙂