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

JSP precompile failure with portal-reports-engine-console-web

    Details

      Description

      Steps to reproduce:

      1. Navigate to modules/private/apps/forms-and-workflow/portal-reports-engine/portal-reports-engine-console-web
      2. Run ../../../../../../gradlew generateJSPJava

      Expected results:
      No jsp precompile errors

      Actual results:

      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:497)
              at com.liferay.jasper.jspc.JspC._runWithClassPath(JspC.java:161)
              at com.liferay.jasper.jspc.JspC.main(JspC.java:46)
      Caused by: org.apache.jasper.JasperException: file:/Users/kenji/Projects/github/liferay-portal-ee/ee-7.0.x/modules/private/apps/forms-and-workflow/portal-reports-engine/portal-reports-engine-console-web/build/unzipped-jar/META-INF/resources/init.jsp(19,66) PWC6188: The absolute uri: http://java.sun.com/portlet_2_0 cannot be resolved in either web.xml or the jar files deployed with this application
              at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:92)
              at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:378)
              at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:172)
              at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:434)
              at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:240)
              at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:502)
              at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:582)
              at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1657)
              at org.apache.jasper.compiler.Parser.parse(Parser.java:185)
              at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
              at org.apache.jasper.compiler.ParserController.parse(ParserController.java:145)
              at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:212)
              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
      :private:apps:forms-and-workflow:portal-reports-engine:portal-reports-engine-console-web:generateJSPJava FAILED
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kenji.heigel Kenji Heigel
                Reporter:
                kenji.heigel Kenji Heigel
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 11 weeks, 4 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP5
                  7.0.0 DXP SP1
                  7.0.3 CE GA4