update to spring 5, fix startup

This commit is contained in:
Loredana Crusoveanu 2018-06-17 16:21:39 +03:00
parent 92e3943212
commit 539be15614
1 changed files with 3 additions and 3 deletions

View File

@ -19,19 +19,19 @@ public class AnnotationsBasedApplicationAndServletInitializer //extends Abstract
return null;
}
@Override
//@Override
protected WebApplicationContext createServletApplicationContext() {
AnnotationConfigWebApplicationContext normalWebAppContext = new AnnotationConfigWebApplicationContext();
normalWebAppContext.register(NormalWebAppConfig.class);
return normalWebAppContext;
}
@Override
//@Override
protected String[] getServletMappings() {
return new String[] { "/api/*" };
}
@Override
//@Override
protected String getServletName() {
return "normal-dispatcher";
}