Posts

Showing posts from October, 2017

Google App Engine and Spring MVC 5

I've tried new Spring Framework (Wweb MVC 5) with Standard AppEngine runtime (Java8). Unfortunately "most standard" approach to initialise application with extending AbstractAnnotationConfigDispatcherServletInitializer  class has failed miserably: public class EntryPoint extends AbstractAnnotationConfigDispatcherServletInitializer {     @Override     protected Class<?>[] getRootConfigClasses() {         return new Class<?>[]{RootConf.class};     }     @Override     protected Class<?>[] getServletConfigClasses() {         return new Class<?>[]{WebConf.class};     }     @Override     protected String[] getServletMappings() {         return new String[]{"/"};     } } The failure was (it really seems to be platform rather than Spring issue): org.eclipse.jetty.annotations.ServletContainerIn...