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

JasperException when startup TCServer with Liferay Digital Enterprise 7.0 Fix Pack 10

    Details

    • Story Points:
      1.5
    • Fix Priority:
      5

      Description

      Steps to reproduce:

      1. Startup the DXP SP1 TCServer with liferay-fix-pack-de-10-7010.
      2. Visit localhost:8080 in URL address.

      Expected Result:
      Startup successfully.

      Actual Result:
      Failed to startup. The consoles throws the following error:

      17:14:39,709 ERROR [tomcat-http--2][IncludeTag:128] Current URL /c/portal/license_lcs generates exception: Unable to compile class for JSP: ____An error occurred at line: 537 in the jsp file: /html/common/themes/top_js.jspf__'<>' operator is not allowed for source level below 1.7__534: 	return dateFormatPattern;__535: }__536: __537: private static final Map<String, String> _dateFormatPatterns = new ConcurrentHashMap<>();__538: %>______Stacktrace: [Sanitized]
      org.apache.jasper.JasperException: Unable to compile class for JSP: ____An error occurred at line: 537 in the jsp file: /html/common/themes/top_js.jspf__'<>' operator is not allowed for source level below 1.7__534: 	return dateFormatPattern;__535: }__536: __537: private static final Map<String, String> _dateFormatPatterns = new ConcurrentHashMap<>();__538: %>______Stacktrace: [Sanitized]
      	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
      	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
      	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:485)
      	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:379)
      	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
      	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)
      	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:99)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
      	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
      	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
      17:14:46,306 ERROR [tomcat-http--6][IncludeTag:128] Current URL /c/portal/license_lcs generates exception: Unable to compile class for JSP: ____An error occurred at line: 537 in the jsp file: /html/common/themes/top_js.jspf__'<>' operator is not allowed for source level below 1.7__534: 	return dateFormatPattern;__535: }__536: __537: private static final Map<String, String> _dateFormatPatterns = new ConcurrentHashMap<>();__538: %>______Stacktrace: [Sanitized]
      org.apache.jasper.JasperException: Unable to compile class for JSP: ____An error occurred at line: 537 in the jsp file: /html/common/themes/top_js.jspf__'<>' operator is not allowed for source level below 1.7__534: 	return dateFormatPattern;__535: }__536: __537: private static final Map<String, String> _dateFormatPatterns = new ConcurrentHashMap<>();__538: %>______Stacktrace: [Sanitized]
      	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
      	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
      	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:485)
      	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:379)
      	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
      	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)
      	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:99)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
      	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
      	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
      
      
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 24 weeks ago

                  Packages

                  Version Package
                  7.0.0 DXP FP11