This is probably a dumb question, but I'm trying to precompile my jsp files using jspc.sh, and I keep getting the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/SAXException
Now, my xerces-1.2.3.jar (which has the class in question) is in my classpath.
I'm running JBoss 2.4.9, Tomcat 4.0.4, running on Redhat Linux 7.2 (and Oracle 8.1.7, though I don't think that's relevant to this problem).
Deploying the ear file works just fine, and it does the just-in-time compilation fine. But I'd like to make sure I get a clean compile before I deploy it, it would save me lots of time. Not a life & death issue, but it sure would make development easier.
I've tried running the setclasspath.sh script, but it doesn't seem to help.
What am I doing wrong? I go to a directory with some jsp files, and run jspc.sh *.jsp -- is there something else I need to do?
You can email me directly at email@example.com if you wish.