I\'ve been trying to deploy a Spring MVC Java Web Application on a Google App Engine application but been having no luck doing so. I\'m using App Engine Java SDK to deploy it fr
This problem appeared for the first time when we tried to migrate from Java 7 to 8 on GAE. We have Spring MVC + Apache Tiles and we are serving legacy JSP pages. Since this was pointing to JSP problem I started playing around with related options. One of these was defined inside web.xml as follow:
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<trim-directive-whitespaces>true</trim-directive-whitespaces>
</jsp-property-group>
I simply removed this jsp-property-group definition and GAE server started serving JSP back again. We are now able to use Java 8 on GAE with Spring MVC and Apache Tiles but we now have to live with JSP extra generated whitespaces as described here: How to trim whitespaces from your JSP pages which was not a deal breaker for us while targeting JDK 1.8 was an absolute requirement... Hope this helps.