Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Xalan XML->HTML error

Status
Not open for further replies.

justusj

Programmer
Apr 26, 2001
1
US
Newbie question: I am trying to parse XML documents with XSL style sheets to create HTML. I've tried both Xalan-J 2.0.1 and Saxon 6.2.2, using supplied sample servlets for testing (SimpleXSLTServlet for Xalan, SaxonServlet for Saxon). I'm running Tomcat 3.2 on Win98. I get essentially the same error with both:

Java.lang.NoSuchMethodError: org.xml.sax.Attributes: method getQName(I)Ljava/lang/String: not found

I've checked (and tried various versions of) various jars in my classpath, and found this class to be present.

Any suggestions as to how I might proceed? Should I force the jars to load in a particular sequence?

TIA

 
I remember seeing in the xalan docs that the jars must be in a specific order under certain platforms, since your just including the xalan.jar and xerces.jar, try switching their order if you haven't already... the error sounds like it's just not seeing the jars.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top