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

Precompile Errors when compiling with Resin

    Details

    • Application Servers:
      Resin 4.0

      Description

      Steps to Reproduce:

      1. Set jsp.precompile=on in portal build.properties
      2. Set app server type to resin
      3. Run ant -f build-dist.xml unzip-resin
      4. Run ant all

      Expected Result:
      No errors when compiling on resin.

      Actual Result:
      Can't compile on resin, precompiler errors come up:

           [java] WARNING: file:/L:/private/master-portal/portal-web/docroot/WEB-INF/tld/liferay-ui.tld:3310: com.caucho.jsp.cfg.TldAttribute.setType(): com.caucho.config.ConfigRuntimeException: java.lang.ClassNotFoundException: integer (in EnvironmentClassLoader[web-app:production/webapp/default/ROOT,NEW])
           [java]
           [java] 3308:                       <required>true</required>
           [java] 3309:                       <rtexprvalue>true</rtexprvalue>
           [java] 3310:                       <type>integer</type>
           [java] 3311:               </attribute>
           [java] 3312:               <attribute>
           [java]
      
      BUILD FAILED
      L:\private\master-portal\build.xml:70: The following error occurred while executing this line:
      L:\private\master-portal\build.xml:325: The following error occurred while executing this line:
      L:\private\master-portal\portal-web\build.xml:1132: The following error occurred while executing this line:
      L:\private\master-portal\portal-web\build.xml:1054: java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at com.liferay.portal.tools.jspc.resin.BatchJspCompiler._compile(BatchJspCompiler.java:83)
              at com.liferay.portal.tools.jspc.resin.BatchJspCompiler.<init>(BatchJspCompiler.java:58)
              at com.liferay.portal.tools.jspc.resin.BatchJspCompiler.main(BatchJspCompiler.java:35)
      Caused by: com.caucho.jsp.JspLineParseException: file:/L:/private/master-portal/portal-web/docroot/WEB-INF/tld/liferay-ui.tld:3310: com.caucho.jsp.cfg.TldAttribute.setType(): com.caucho.config.ConfigRuntimeException: java.lang.ClassNotFoundException: integer (in EnvironmentClassLoader[web-app:production/webapp/default/ROOT,NEW])
      
      

      Full console output is available here

        Attachments

          Activity

            People

            • Assignee:
              simon.park Simon Park (Inactive)
              Reporter:
              simon.park Simon Park (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 46 weeks, 6 days ago

                Packages

                Version Package
                6.2.X EE