title: Tomcat: The server encountered an unexpected condition that prevented it from fulfilling the request
body: <p>
  I had written a program that counts th times i visited the site. When i press run button there opens new window with this stack trace: 
  <a href="https://i.stack.imgur.com/1dijE.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1dijE.jpg" alt="my stack trace"></a></p>
  
  <p>I dont know what to do, beacause i am a newbie for tomcat. Im using Eclipse and tomcat 8.5. I also provide my project tree and web.xml</p>
  
  <p><a href="https://i.stack.imgur.com/LqF9s.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LqF9s.jpg" alt="web.xml"></a>
  <a href="https://i.stack.imgur.com/OmzAK.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OmzAK.jpg" alt="project tree"></a></p>
  
  <p>I hope we`ll find the answer, because i want to continue learning, and for now i stuck on this. 
  </p>