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
/ns/javaee/web-app_2_5.xsd"; id="WebApp_ID" >>> version="2.5"> >>> FirstWebProject >>> >>> index.html >>> index.htm >>> index.jsp >>> default.html >>> default.htm >>

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
, I simply followed that short basic > tutorial step by step. My HelloServlet.java class is exactly the same as > in the tutorial and is in the same package. > Could you please tell me why it can't seem to find the class? > > Thanks heaps, > > :) > > > >

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
/HelloServlet > > > > > Sorry I don't know how to add code tags in this forum. I'm using Tomcat 6. > I've > made no changes to ANY web.xml files, I simply followed that short basic > tutorial step by step. My HelloServlet.java class is exactly the same as &g

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

Tomcat in Eclipse Error 500 java.lang.ClassNotFoundException

2010-06-09 Thread Vitalstatistix
class is exactly the same as in the tutorial and is in the same package. Could you please tell me why it can't seem to find the class? Thanks heaps, :) -- View this message in context: http://old.nabble.com/Tomcat-in-Eclipse-Error-500-java.lang.ClassNotFoundException