When content-repo.war is deployed to the tomcat and accessed content-repo with the url http://localhost:8080/content-repo/ it redirected to http://localhost:8080/content-repo/docs which causes 404 in the server.
While accessing directly http://localhost:8080/content-repo/docs/ (difference is the last slash) it works perfectly.