jsp files are converted into java files, then compile...better check your classpath. If even the provided sample files got compilation error, then maybe your classpath is invalid, or some required jar files are not at the correct place.
sorry, JSP are converted into servlets, then compile...
:D