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

The "compileJSP" task fails on Gradle 3.3 when using EL tags

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: 7.0.X EE, 7.1.X, Master
    • Component/s: Dev Tools
    • Labels:
      None
    • Branch Version/s:
      7.0.x
    • Backported to Branch:
      Committed

      Description

      Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
              at com.liferay.jasper.jspc.JspC.main(JspC.java:52)
      Caused by: java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.jasper.jspc.JspC._runWithClassPath(JspC.java:168)
              at com.liferay.jasper.jspc.JspC.main(JspC.java:46)
      Caused by: java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
              at org.apache.jasper.compiler.JspUtil.getExpressionFactory(JspUtil.java:1192)
              at org.apache.jasper.compiler.JspUtil.validateExpressions(JspUtil.java:654)
              at org.apache.jasper.compiler.Validator$ValidateVisitor.getJspAttribute(Validator.java:1366)
              at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1142)
              at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:859)
              at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1502)
              at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2297)
              at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2347)
              at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:879)
              at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1502)
              at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2297)
              at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2347)
              at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2353)
              at org.apache.jasper.compiler.Node$Root.accept(Node.java:499)
              at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2297)
              at org.apache.jasper.compiler.Validator.validate(Validator.java:1890)
              at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:223)
              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
              at org.apache.jasper.JspC.processFile(JspC.java:1178)
              at org.apache.jasper.JspC.execute(JspC.java:1345)
              ... 6 more
      

        Attachments

          Activity

            People

            Assignee:
            andrea.digiorgi Andrea Di Giorgi (Inactive)
            Reporter:
            andrea.digiorgi Andrea Di Giorgi (Inactive)
            Participants of an Issue:
            Recent user:
            Jason Pince
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.X EE
                7.1.X
                Master