Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14433

WildFly 22. Compile JSP error. JBWEB004062

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 22.0.1.Final
    • Web (Undertow)
    • None
      1. Use whatever J2EE application (war file) with a JSP file with some java import package.
      2. Use OpenJDK Runtime Environment (build 1.8.0-272-b10).
    • Undefined
    • ---
    • ---

    Description

      Hello,

      When I try to run an application on WildFly 22.0.1 server, I get the following error:

      ---------------------------------------------------------

      Stacktrace:
      INFO JBWEB004062: Unable to compile class for JSP:

      JBWEB004060: An error occurred at line: 12 in the jsp file: /jsps/global/error.jsp
      Syntax error on tokens, delete these tokens
      9: <%
      10: // Introducing the exception in the User container
      11: UserContainer userContainer = (UserContainer)session.getAttribute(StrutsKeys.SES_USER_CONTAINER);
      12: if(exception instanceof java.net.SocketException)

      { 13: }

      else{
      14: if (userContainer == null) {
      15: userContainer = new UserContainer();

      ---------------------------------------------------------

      Best regards.

      Attachments

        Activity

          People

            chaowan@redhat.com Chao Wang
            jgmaldonado01 Jose Gracia (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: