@WebServlet annotation doesn’t work with Tomcat 8
I got it working. I had to extend the way I started my Tomcat 8.0.12 server. Nevertheless, there are three main things that must be done: web-app version in web.xml has to be at least 3.0 (I used 3.1) metadata-complete in web.xml may not be true (default is “false”) classes directories have to be added … Read more