Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-67528

Expression Language not working on Wildfly

    Details

    • Fix Priority:
      4
    • Application Servers:
      Wildfly 10.0

      Description

      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 6.2.10.15.
      • 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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.wulbern Brian Wulbern
              Reporter:
              tomas.plachy88 Tomas Plachy
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 42 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.X EE
                  Master