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

2010-06-11 Thread Pid
On 11/06/2010 05:21, Vitalstatistix wrote: > > Yeh that was just a dodgy hack to get around my initial errors when using > javac. I found out later the reason why javac wasn't working on my servlet > class was because servlet-api.jar wasn't on the classpath, > after adding that I was able to compi

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

2010-06-10 Thread Vitalstatistix
Yeh that was just a dodgy hack to get around my initial errors when using javac. I found out later the reason why javac wasn't working on my servlet class was because servlet-api.jar wasn't on the classpath, after adding that I was able to compile it the normal way. Also the solution is NOT to put

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

2010-06-10 Thread Pid
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 it to generate the > HelloServlet.class file, then I placed the class file in the WEB-INF folder > and it all worked f

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 jus

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

2010-06-09 Thread Caldarale, Charles R
> From: Vitalstatistix [mailto:frozen_monke...@hotmail.com] > Subject: Re: Tomcat in Eclipse Error 500 > java.lang.ClassNotFoundException > > Yes, I do have: > package com.example.servlets; > At the top of my HelloServlet.java file. And where exactly is the .class file loca

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/i

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

2010-06-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 6/9/2010 10:07 AM, Vitalstatistix wrote: > 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 t