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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 7.0.10.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.

      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
            rhn-support-abhumbe Abhijit Humbe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: