Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1293

JSP compilation fails if we have same Class and package names(differs only on case)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • Hide
      • Build attached maven project and deploy exploded war file(Make sure JBoss is running in Windows environment).
      • Try to access test_direct.jsp and test_fqdn.jsp JSP page, it will fail with exception.
      Show
      Build attached maven project and deploy exploded war file(Make sure JBoss is running in Windows environment). Try to access test_direct.jsp and test_fqdn.jsp JSP page, it will fail with exception.
    • Hide

      Rename either the class or the package to avoid the collision.

      Show
      Rename either the class or the package to avoid the collision.

      Class and package names differs only on case.

      If we try to use class in package inside the JSP, compilation failed with exception
      ~~~
      JBWEB004060: An error occurred at line: 2 in the jsp file: /test_fqdn.jsp
      test.logicalvalue cannot be resolved to a type.
      ~~~
      Complete log file attached to jira.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: