Since 8.5.32, Jasper generates an incomplete web.xml 3.1 header: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" <servlet> <servlet-name>org.apache.jsp.health_jsp</servlet-name> <servlet-class>org.apache.jsp.health_jsp</servlet-class> </servlet> ... </web-app> I believe the cause is the missing backslash on the second line of the jspc.webxml.header properties in LocalStrings.properties: jspc.webxml.header=<?xml version="1.0" encoding="{0}"?>\n\ <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" \ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\n\ \ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee\n\ \ http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"\n\ \ version="3.1"\n\ \ metadata-complete="false">\n\ <!--\n\ Automatically created by Apache Tomcat JspC.\n\ -->\n\ \n
Thanks for the report. Fixed in: - trunk for 9.0.13 onwards - 8.5.x for 8.5.35 onwards - 7.0.x for 7.0.92 onwards
Mark, I believe the backslash is missing in the Spanish, French and Japanese versions of LocalStrings as well. Thank you.
Correct but Mark fixed that too.