Gaurav Kumar
Gaurav Kumar

Reputation: 105

Type A problem was encountered using TagExtraInfo class org.apache.taglibs.standard.tei.ForEachTEI for 'c:forEach;

I wandered through out the stackoverflow but could not find the correct solution that resolves my issue.

Type A problem was encountered using TagExtraInfo class org.apache.taglibs.standard.tei.ForEachTEI for 'c:forEach'

This error is being displayed whenever I am using

<c:forEach></c:forEach>

and

<c:import></c:import>

Other tags are showing no warning.

I am using Eclipse IDE and Tomcat Server version 10.0

Please tell me how can I resolve it? Thanks in advance!

Upvotes: 6

Views: 8318

Answers (3)

Parker
Parker

Reputation: 7519

There is a known issue filed for this in webtools.javaee Issue #13 and an Eclipse bug report.

"The JSP editor and translator uses the mentioned tag libraries to add Java variables and allow Java compilation validation of the file. Right now, however, it only handles tag libraries built against the Java EE Servlet APIs, not ones built against the Jakarta EE Servlet APIs..."

Essentially, this is an incompatibility in the validator and is not indicating a problem with your JSP or use of JSTL tags.

This issue started with Eclipse 2020-06, and as of Eclipse 2024-12, has not yet been resolved. More info is available here.

Upvotes: 0

Christopher
Christopher

Reputation: 481

My solution was changing settings in Preferences->Web->JSP Files->Validation "Other problems with TagExtraInfo class: ignore"

Upvotes: 2

Gaurav Kumar
Gaurav Kumar

Reputation: 105

I have updated Eclipse IDE to the newer version and there is no such error now.

Upvotes: 0

Related Questions