|November 7, 2006|
Package javax.servlet does not exist
Apple.com says: For some reason, the necessary packages are not in your classpath. Debug your classpath to make sure the javax.servlet.* classes are there. If the classes are not found, the resolution is to download the servlet.jar and put it into /Library/Java/Extensions or in your classpath. The servlet.jar can be found with many open source distributions (such as tomcat).
This morning I got the above message, but it turns out that the classpath in build.xml file was pointing to the wrong directory. If you are getting the above error, make sure that your classpath in build.xml is set correctly.
Feel free to leave a comment about this post.