Check that WAR apps work in a container
This commit is contained in:
@@ -45,6 +45,7 @@ public class WebConfig extends WebMvcConfigurerAdapter {
|
||||
}
|
||||
|
||||
@Bean
|
||||
// Only used when running in embedded servlet
|
||||
public DispatcherServlet dispatcherServlet() {
|
||||
return new DispatcherServlet();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user