Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-1886

Set compilerSourceVM and compilerTargetVM to web.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.12.0
    • Web UI
    • None

    Description

      Eliminting explicit diamone operation is only available in JDK 7 or higher. But, the default compiler source VM version is 1.5 in jetty. It causes compilation error in web UI. So, we need to set the following parameters to web.xml in each web app:

      <servlet id="jsp">
          <servlet-name>jsp</servlet-name>
          <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
          <init-param>
            <param-name>compilerSourceVM</param-name>
            <param-value>1.8</param-value>
          </init-param>
          <init-param>
            <param-name>compilerTargetVM</param-name>
            <param-value>1.8</param-value>
          </init-param>
        </servlet>
      

      Attachments

        Issue Links

          Activity

            People

              hyunsik Hyunsik Choi
              hyunsik Hyunsik Choi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: