Skip to content

Commit

Permalink
Issue camunda-community-hub#353: Fix error "ServletContextInitialized…
Browse files Browse the repository at this point in the history
…Listener does not define or inherit an implementation of the resolved method 'abstract void contextDestroyed(javax.servlet.ServletContextEvent)' of interface javax.servlet.ServletContextListener"
  • Loading branch information
tobiasschaefer committed Nov 30, 2021
1 parent cfb613f commit 5b129a8
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ public void contextInitialized(ServletContextEvent sce) {
// Required for long polling
new FetchAndLockContextListener().contextInitialized(sce);
}

@Override
public void contextDestroyed(ServletContextEvent sce) {
}
});

if (configuration.getRest().isBasicAuthEnabled()) {
Expand Down Expand Up @@ -175,6 +179,10 @@ public void contextInitialized(ServletContextEvent sce) {
registerFilter("CacheControlFilter", CacheControlFilter.class, "/api/*", "/app/*");
}

@Override
public void contextDestroyed(ServletContextEvent sce) {
}

protected Map<String, String> getCsrfInitParams(){
Map<String, String> initParams = new HashMap<>();

Expand Down

0 comments on commit 5b129a8

Please sign in to comment.