When deploying portlet with EL in JSP, portlet is deployed without errors, but on render throws java.lang.ClassCastException: com.sun.el.ExpressionFactoryImpl cannot be cast to javax.el.ExpressionFactory.
This bug was already reported in issue https://issues.liferay.com/browse/LPS-66766, but closed as "no longer reproductible". I tested project linked in previous issue, newly created project, out application developed on Liferay 6.2 and example found on github https://github.com/vernaillen/liferay7-springmvc-portlet, all with the same exception.
Steps to reproduce:
- Create new maven project from maven spring mvc archetype version 22.214.171.124.
- Update dependencies.
- Deploy to Wildfly.
I tested it on freshly downloaded Liferay 7 GA1 and GA2 Wildfly bundle started with hypersonic db. Portlet is working on Liferay 7 GA2 Tomcat bundle, like mentioned in previous issue.