Details

      Description

      The Gradle task generateJSPJava never finds the .tag files and fails.

      Test case: https://github.com/gamerson/liferay-portal/pull/369

      > Task :apps:oauth2-provider:oauth2-provider-web:generateJSPJava FAILED
      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: org.apache.jasper.JasperException: file:P:/project/m/portal/modules/apps/oauth2-provider/oauth2-provider-web/classes/META-INF/resources/testjsp.jsp(1,64) PWC6117: File "/META-INF/tags/mytest/test.tag" not found
              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.JspUtil.getInputStream(JspUtil.java:920)
              at org.apache.jasper.xmlparser.XMLEncodingDetector.getEncoding(XMLEncodingDetector.java:145)
              at org.apache.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:381)
              at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:215)
              at org.apache.jasper.compiler.ParserController.parseTagFileDirectives(ParserController.java:178)
              at org.apache.jasper.compiler.TagFileProcessor.parseTagFileDirectives(TagFileProcessor.java:588)
              at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagFileInfo(TagLibraryInfoImpl.java:639)
              at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:376)
              at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:254)
              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
      

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              peter.shin Peter Shin
              Engineering Assignee:
              Peter Shin
              Recent user:
              Jason Pince
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.0.X
                7.1.X
                7.2.X
                7.3.0 CE GA1
                Master