Anurag Verma wrote:I dont discourage you doing compilations the hardcore way, but i recommend using a Java IDE of your choice ...
I disagree. I think learning to do it "the hardcore way" is best at first.
Eric Fanc wrote:I have verified that the servlet-api.jar is in the specified folder on the classpath.
It's not on the classpath. if it were, you would not be getting the error.
You said "folder". For jars, you need to include the jar itself, not the folder it is in.
(Be sure not to copy servlet-api.jar anywhere. Leave it where it is and include it in the classpath in place._