Reputation: 35276
I tried deploying this sample Rest + Spring sample application to my Cloud Foundry account through Eclipse STS and Cloud Foundry plugin, however I get this error:
HTTP Status 404 - Could not find resource for relative : /customer/print of full path: http://restdemo-api-v1.cloudfoundry.com/customer/print
However if I run locally in my local Tomcat 7 server, I get the response.
Any ideas why I experience this error?
Upvotes: 0
Views: 368
Reputation: 1270
Also remember that Cloud Foundry uses Tomcat 6 as its Servlet Container. I would recommend you to check your application locally on a Tomcat 6 instance rather than a Tomcat 7.
Upvotes: 0
Reputation: 4407
Upvotes: 1