@goyalkritika
this annotation means that the parent method has some @NotNull / @NonNull annotation on the parameter, while the overriding method has no.
To fix it, you need to put the same annotation on the overriding method.
Please try
import org.jetbrains.annotations.NotNull;
@Override
protected void doGet(final @NotNull SlingHttpServletRequest request,
final @NotNull SlingHttpServletResponse response) throws ServletException, IOException
Aanchal Sikka