• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 404 Error on Every New Servlet I Create

 
Paul Hoffman
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

I am using Eclipse and Tomcat. Everytime I create a servlet and run it through my server I get a 404 error - which I then restart and then it works. I have to do this quite often.

Does anyone know why I must restart my server so often?

Thanks!!
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Changes in web.xml simply require a server restart.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64994
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bauke Scholtz wrote:Changes in web.xml simply require a server restart.

Correction: a context restart. For containers (like Tomcat) that support it, you can just restart the context without having to restart the whole server.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that's correct.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic