Compiling JSPWiki 2.0 with Tomcat 5

Specifically, that’s JSPWiki 2.0.52 and Tomcat 5.0.29, but who’s counting anyway?

The compilation instructions for JSPWiki confidently state that you should copy your servlet.jar from your $CATALINA_HOME/common/lib directory into either $JAVA_HOME/jre/lib/ext or to JSPWiki/lib.

Tomcat 5 doesn’t use servlet.jar any more, so the JARs you need to copy are $CATALINA_HOMEcommonlibjsp-api.jar and $CATALINA_HOMEcommonlibservlet-api.jar. I just dropped them into my JSPWiki/lib dir because I didn’t want them influencing any of my other Java apps, but putting them into $JAVA_HOME/jre/lib/ext should also work.

Published by

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.