Could not read security filter config file ‘/securityFilterRules.json’

When Im running Junit5 test case im getting below exception.How to resolve this?
I remember earlier also i ran into same problem when im running my spring boot application.

`

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘lazyInitRegistration’ defined in class path resource [org/camunda/bpm/spring/boot/starter/webapp/CamundaBpmWebappAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.RuntimeException: javax.servlet.ServletException: Could not read security filter config file ‘/securityFilterRules.json’: no such resource in servlet context.

`

1 Like

Just Clean the project in eclipse

  1. Project → Clean.
  2. Maven update.
    Its resolved for me.