Developing a Google App Engine app with Spring MVC, the following exception presents itself while running the dev server on OSX:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0':
Initialization of bean failed [...]
nested exception is java.lang.NoClassDefFoundError:
java.time.format.FormatStyle is a restricted class. Please see the
Google App Engine developer's guide for more details.
This error does not present itself if I upload my app to Google App Engine's cloud server.
How to get around it?