problem with xercesImpl.jar

S

sean

I'm deploying a simple XML parsing servlet using the latest
2.5.0 xerces jars in it's lib directory.

This servlet runs fine on my local machine, but when I deploy it
to the production server, the JRE throws a java.lang.NoSuchMethodError
for the method
method parse(Ljava/io/InputStream;Lorg/xml/sax/helpers/DefaultHandler;)V not found

This method is definitely in the latest xerces jar, so I'm guessing
it's picking up an obsolete jar file somewhere before the current
jar in the classpath.

Unfortunately I have little control over the production server, so
can anyone suggest how I can force xerces to use the actual
latest library?

Thanks,
Sean
 
D

David Baer

can you manipulate the CLASSPATH-variable of your production server?

make sure the 2.5-version is in the classpath.

d.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top