Jasper is not case sensitive when compiling JSPs on Windows

Solution Verified - Updated -

Issue

  • When deploying an exploded webapp in windows and a package name matches a class name jasper will throw the following error, for example where the package name a matches a classname A or a.class.:

    ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP: 
    
    An error occurred at line: <line num> in the jsp file: /some.jsp
    com.abc.a cannot be resolved to a type
    ...
    

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5
  • Windows
  • Jasper

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.