What causes a lexical analysis error for eclipse in jsp EL validation?

Posted by wds on Stack Overflow See other posts from Stack Overflow or by wds
Published on 2010-05-17T14:37:31Z Indexed on 2010/05/17 14:40 UTC
Read the original article Hit count: 285

Filed under:
|
|
|
|

I've got some EL code inside of a JSP tag. The line starts as follows:

<c:if test="${pageContext.request.serverName eq \'localhost\'}">

Eclipse throws up an error on this, saying:

Unable to analyze EL expression due to lexical analysis error

I'm unsure what this even means. Is this an eclipse bug? Am I mixing EL and the JSTL tags incorrectly?

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse