Hi,
Before I compiled with MultiEdit and run under
Tomcat I am now trying to import my current webapp into Eclipse which I am intending to use. Everything has gone well apart from the fact of resolving the
servlet stuff.
My problem is that when I try to build my project I get the compile error
"HttpServlet cannot be resolved or is not a valid superclass"
I have tried adding the servlet.jar from Tomcat's common\lib as an external JAR in the
Java Build Path, even tried putting it in the ClassPath Variables under 'Windows>Preferences"
Also having add the import statement (which I didn't need to before when compiling under MultiEdit.
I obviously only want to build against the .class in the servlet.jar and not include any source
I know this is a pretty basic question - but its now fustrating me and stopping me from exploring Eclipse
Can anyone help ? Had their own problem with this ?
Thanks,
ScottyB