Servlet 404 error, after passing a constructor inside the servlet

Hello everyone,
I am not able to access the servlet into the browser (404 error) after adding a constructor inside the servlet shown on the picture bellow:

In my pom.xml file I am using this as a dependency: