Actually, I spoke too soon - removing commons-el causes a NoClassDefFoundError. However, the following seems to work fine on Tomcat 6.0.14 (with MyFaces 1.2.0, Tomahawk 1.1.6 and Facelets 1.13):
<c:if test="${not empty errors}">
<div class="error" id="errorMessages">
<c:forEach var="error" items="${errors}">

"
alt="<fmt:message key="icon.warning"/>" class="icon" />
<c:out value="${error}" escapeXml="false"/><br />
</c:forEach>
</div>
<c:remove var="errors" scope="session"/>
</c:if>
Using maven-jetty-plugin 6.1.5, I get:
Caused by: javax.faces.el.EvaluationException: ELResolver cannot handle a null base Object with identifier 'errors'
Any ideas?
Thanks,
Matt
mraible wrote:
I'm trying to solve the following issue and it appears that the maven-jetty-plugin's dependency on commons-el is causing the problem.
http://tinyurl.com/2vq9rfIs there any way to exclude it in my plugin's configuration? I'm using version 6.1.5.
Thanks,
Matt