4

I have created a new Dynamic Web Project in eclipse 3.6.

I added a Tomcat 7.0 server and choose "Run on server" on a jsf file. Working fine!

I added it to a SVN repository to share it with other.

I close Eclipse.

I create a new fresh workspace to check that everything works okey. Checking out the same project as above.

I added a Tomcat 7.0 server and choose "Run on server" on the same file as before. This result in a 404: "HTTP Status 404 .... - description The requested resource () is not available."

Why is that?? This is really strange! Don't you think? Can you please help me?

Best regards

kungcc
  • 1,832
  • 5
  • 25
  • 48

1 Answers1

7

Remove the dynamic web project from the Tomcat server and add it again.

Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
  • 1
    Thanks for you reply. I tried your suggestion, unfortunately it still does not work. I also tried to clean the webapps (or corresponding in eclipse) directory and republish. How do I enable logging? I cant see any logs in: .../workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/ – kungcc Jan 19 '11 at 20:19
  • This is why I love stack overflow ... thanks for the answer, worked for me too. – gamozzii Dec 04 '11 at 05:44
  • Is this like a bug or anything? But the solution worked. thanks – redDevil Mar 01 '12 at 15:27
  • Haha! Worked for me as well. After trying out stuff for about two hours, I find this solution and it works! – Crocode May 30 '13 at 19:44