简体   繁体   中英

How do I get rid of TagExtraInfo JSTL warning in Eclipse?

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 ac:forEach. How can I get rid of it? My project is targeting Tomcat v6.

将web.in目录中的standard.jar添加到构建路径jar。

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM