I'm attempting to build an existing project and keep running into this error when running xdoclet:
[webdoclet] Make sure the jar file containing the javax.servlet.Servlet class is on the classpath specified in the <taskdef> that defined webdoclet. These classes are needed in order to generate correct output.
in case anyone runs into a similar thing, the issue was that the dependency was actually on the 1.3 version of servlet-api.jar and adding that to the build path solved the problem.