How does the URL look like you are calling when it’s deployed to Tomcat?
You may need to add the context root.