I just want to follow up my post here. I can now successfully deploy a spring project in cloudfoundry. I've found out that the problem is with my version of tomcat. I'm currently using version 7. I've changed it my tomcat to version 6. And try to deploy it locally. Then I tried it again with cloudfoundry and luckily it is now working. :-)
First of all, I am glad to hear that you got it working!!!
But I would like to investigate in more detail why it failed before. From what I understood is: you created your Spring MVC template project and deployed it on a local Tomcat 7. That worked. Then you deployed it to Cloud Foundry and that failed. But after switching your local Tomcat to version 6 and deploying your app to that Tomcat, it works. Then you tried again to deploy to Cloud Foundry and then it worked. Is that correct? And what happens if you switch your local Tomcat back to 7 and do the same again? Does it reproduce the error?
Thanks for your help!