It's hard to see because it got garbled during cut-and-paste, but the error message seems a little weird. javax.servlet.http.HttpServletRequestWrapper is a class that was added in the
Servlets 2.3 API, so maybe you're mixing 2.3 and pre-2.3 components? What are "the two libraries?" What command line are you using to compile?
Note that putting jar files into jdk/jre/lib accomplishes nothing; you're thinking of the jdk/jre/lib/ext directory.
ps - whats the easiest way (i cant remember the command) for viewing the classes in a jar file ?
jar tf servlet.jar