AEM, debug does not catch SlingServletFilter
I am trying to implement a Sling Servlet Filter which aims to be invoked when I upload any .json file into filtertest folder, following the tutorial on https://sling.apache.org/documentation/the-sling-engine/filters.html
Here is the annotations and attributes in it:
@SlingServletFilter(scope= {SlingServletFilterScope.REQUEST},
pattern = "/content/dam/filtertest/.*",
extensions = {"json"},
methods = {"GET", "HEAD", "PUT"})
However, debug does not catch the breakpoint in this class' doFilter method.
What is the problem in here? I could not figure it out.
