Question

I'm working with JSTL in Eclipse, using the WTP. I have jstl and standard.jar in my WEB-INF/lib directory, and everything works. Eclipse is giving me this warning in my JSP:

The TagExtraInfo class for c:forEach (org.apache.taglibs.standard.tei.ForEachTEI) was not found on the build path.

I have JSTL included:

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

The warning is on a line that uses a c:forEach. How can I get rid of it? My project is targeting Tomcat v6.

Was it helpful?

Solution 3

Eventually, I accidentally double-clicked the warning, and it took me to the source, which was editable. Then I fixed the problem myself.

OTHER TIPS

Add the standard.jar from the web-inf directory to your build path jars.

Are the jars actually on the build path? If so, you might try closing and reopening the project. Otherwise that message is controllable from the Web/JSP Files/Validation preference page.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top