web.xml was added to WEB-INF folder.