I have got problems compinling my jsp-pages because of a classdef not found exception. If I deploy the web-application with ant (tomcat-ant-task, which uses the tomcat management interface) it seems to me the jar files in WEB-INF/lib are not used. Please note, the document-root is not located under the tomcat webapps directory but elsewhere on my machine. If I copy the jar files from my WEB-INF/lib directory to tomcats common/lib everything works fine. If I just copy the ant-build directory (containing my jsps, the WEB-INF dir...) to the tomcat webapps directory everything works fine too. So it seems to me there is a problem using jar-files that are located outside the tomcat webapp-directory.
*** This bug has been marked as a duplicate of 12387 ***