Tomcat 404 error: The origin server did not find a current representation for the target resource or

NoSuchKey