As described in bug 39089, a known JVM issue, bug 6294277, may cause a java.lang.InternalError: name is too long to represent exception when compiling very large JSPs. If this is observed then it may be worked around by using one of the following:
- reduce the size of the JSP
- disable SMAP generation and JSR-045 support by setting suppressSmap to true.