Hi Peter, Thanks for the suggestion, but it didn't seem to help. The servlet container I'm using is JRun 3.1 which is using a fairly old Java 1.2 JRE. I'm still getting a NoSuchMethodError thrown when my parser is trying to parse; the JRE says it can't find public void parse(InputStream is, DefaultHandler dh) even though the current 2.5.0 xerces jar files are definitely in my classpath.
I also tried the other fellow's idea of printing the current version, it did come back as "2.5.0". Any other ideas? Thanks, Sean One possible way is to use the java endorsed directories system property. ie: -Djava.endorsed.dirs=<directory where your xerces 2.x libs are located> -----Original Message----- From: Maksym Kovalenko [mailto:[EMAIL PROTECTED] Sent: 03 November 2003 14:42 To: [EMAIL PROTECTED] Subject: Re: any way to ensure using latest xerces*.jars? Easiest way to find out what version is actually on your classpath is to invoke one of the methods on org.apache.xerces.impl.Version At least you can check and throw errors for old versions. Sean Machin wrote: I am deploying a parsing app to a servlet server on which I have minimal control over jars in the classpath. I suspect that my servlet is picking up old parser implementations before the Xerces 2.5.0 in the classpath. Is there any way to "force" an app. to use a specific version of Xerces or otherwise ensure it's only using code from the latest libs? Thanks, Sean --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Maksym Kovalenko Software Engineer Marketswitch Corporation http://www.marketswitch.com 108 Powers Court, Suite 225 Dulles, VA 20166 Phone: +1 (703) 444-6750 ext. 302 Fax: +1 (703) 444-6812 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
