Re: Tomcat in Eclipse Error 500 java.lang.ClassNotFoundException

2010-06-10 Thread Vitalstatistix
is NOT to put it in the WEB-INF folder, you need to have your .class file in the build/classes/Yourpackage folder. Pid * wrote: On 10/06/2010 03:20, Vitalstatistix wrote: SOLVED: There was no HelloServlet.class file so I had to put an empty main method into the HelloServlet.java class and run

Tomcat in Eclipse Error 500 java.lang.ClassNotFoundException

2010-06-09 Thread Vitalstatistix
Hey, I've just been working on this tutorial here: http://www.ibm.com/developerworks/opensource/library/os-eclipse-tomcat/index.html It has been pretty good and I've got the jsp page to show the time but when I try going to the HelloServlet I get the error 500.

Re: Tomcat in Eclipse Error 500 java.lang.ClassNotFoundException

2010-06-09 Thread Vitalstatistix
Hey thanks 4 the response, Yes, I do have: package com.example.servlets; At the top of my HelloServlet.java file. So still stuck :( Vitalstatistix wrote: Hey, I've just been working on this tutorial here: http://www.ibm.com/developerworks/opensource/library/os-eclipse-tomcat

Re: Tomcat in Eclipse Error 500 java.lang.ClassNotFoundException

2010-06-09 Thread Vitalstatistix
SOLVED: There was no HelloServlet.class file so I had to put an empty main method into the HelloServlet.java class and run it to generate the HelloServlet.class file, then I placed the class file in the WEB-INF folder and it all worked fine. Thanks Vitalstatistix wrote: Hey, I've just