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

JasperException occurred when add a blog

    Details

      Description

      Steps to reproduce:

      1. Start portal and login.
      2. Add blog portlet in page.
      3. Try to add a blog entry.

      Expected result:
      Blog could be added.

      Actual result:
      JasperException occurred in console.

      涓ラ噸: Servlet.service() for servlet jsp threw exception
      org.apache.jasper.JasperException: Unable to compile class for JSP:
      
      An error occurred at line: 142 in the jsp file: /html/portlet/blogs/edit_entry.j
      sp
      '<>' operator is not allowed for source level below 1.7
      139:                            </portlet:actionURL>
      140:
      141:                            <%
      142:                            Map<String, Object> data = new HashMap<>();
      143:
      144:                            data.put("uploadURL", uploadEditorImageURL);
      145:                            %>
      
      
      Stacktrace:
              at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErro
      rHandler.java:103)
              at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher
      .java:366)
              at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java
      :468)
              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
              at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
      .java:646)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
      .java:357)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
      90)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:210)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.
      doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFil
      ter(InvokerFilter.java:97)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:210)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
      atcher.java:749)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
      ispatcher.java:605)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
      patcher.java:544)
              at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.includ
      e(DirectServletPathRegisterDispatcher.java:55)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDisp
      atch(ClassLoaderRequestDispatcherWrapper.java:75)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.includ
      e(ClassLoaderRequestDispatcherWrapper.java:52)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:357)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:206)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:92)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 29 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 M3