Skip to content

Commit 539be15

Browse files
committed
update to spring 5, fix startup
1 parent 92e3943 commit 539be15

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎spring-all/src/main/java/com/baeldung/contexts/config/AnnotationsBasedApplicationAndServletInitializer.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ protected WebApplicationContext createRootApplicationContext() {
1919
return null;
2020
}
2121

22-
@Override
22+
//@Override
2323
protected WebApplicationContext createServletApplicationContext() {
2424
AnnotationConfigWebApplicationContext normalWebAppContext = new AnnotationConfigWebApplicationContext();
2525
normalWebAppContext.register(NormalWebAppConfig.class);
2626
return normalWebAppContext;
2727
}
2828

29-
@Override
29+
//@Override
3030
protected String[] getServletMappings() {
3131
return new String[] { "/api/*" };
3232
}
3333

34-
@Override
34+
//@Override
3535
protected String getServletName() {
3636
return "normal-dispatcher";
3737
}

0 commit comments

Comments
 (0)