In a facelets project we use the following code to create links or source images within an XHTML file:
<img src="#{facesContext.externalContext.requestContextPath}/images/blah.gif"/>
IDEA incorrectly reports "Cannot resolve symbol..." even though the file exists in the correct location. The same issue happens with href in anchor tags.
I understand the difficulty in generic parsing of EL expressions within tags like this but perhaps the #{facesContext.externalContext.requestContextPath} idiom could be handled specially as it is common.