Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13829

[GSS](7.1.z) JSP compilation fails if we have same Class and package names(differs only on case)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.1.CR1, 7.1.1.GA
    • 7.0.8.GA
    • Undertow
    • None
    • Hide

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

      Show
      Rename either the class or the package to avoid the collision.
    • 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.
    • EAP 7.1.1

      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:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: