How to remove JSP EL error

Posted on by Kim

If getting this error:

com.sun.faces.config.ConfigurationException: It appears the JSP version of the container is older than 2.1 and unable to locate the EL RI expression factory, com.sun.el.ExpressionFactoryImpl. If not using JSP or the EL RI, make sure the context initialization parameter, com.sun.faces.expressionFactory, is properly set.

Running eclipse and a server:
just go to 'Java EE Module Dependencies' and remove:

Building ear or war file:
make sure the following does not come with:

- servlet-api-??.jar
- jsp-api-??.jar

and let it be up to the server to provide the rigth versions.