https://issues.apache.org/bugzilla/show_bug.cgi?id=56481
Bug ID: 56481 Summary: Cannot differentiate between the package name and class name in tomcat 8.0.5 Product: Tomcat 8 Version: 8.0.5 Hardware: PC Status: NEW Severity: critical Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: hariprasad...@gmail.com Created attachment 31586 --> https://issues.apache.org/bugzilla/attachment.cgi?id=31586&action=edit Sample application demonstrating the issue with case insensitivity. In my web application I have a package com.mycomp. This package has another package named actions and also a class named Actions.class. Tomcat 8.0.5 is unable to differentiate between the class Actions.class and the package actions. This is resulted in the below exception: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [14] in the generated java file: [C:\apache-tomcat-8.0.5\work\Catalina\localhost\customapp\org\apache\jsp\index_jsp.java] The import com.mycomp.actions cannot be resolved Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:199) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:475) org.apache.jasper.compiler.Compiler.compile(Compiler.java:380) org.apache.jasper.compiler.Compiler.compile(Compiler.java:355) org.apache.jasper.compiler.Compiler.compile(Compiler.java:342) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347) javax.servlet.http.HttpServlet.service(HttpServlet.java:725) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) Perhaps there is no case sensitive comparision with this version that is causing the issue. However, I tried deploying this webapp in tomcat 8.0.3, it worked fine without throwing an exception. I have attached a sample war file with the demonstration. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org