java.lang.NoSuchMethodError: org.w3c.dom.Node: Does anybody have a solution?

While moving a servlet from Domino 5.0 to Domino 6.5 we are getting the following error:

java.lang.NoSuchMethodError: org.w3c.dom.Node:

method getLocalName()Ljava/lang/String; not found

at org.apache.xpath.DOM2Helper.getLocalNameOfNode(DOM2Helper.java:326)

at org.apache.xalan.templates.TemplateList.getHead(TemplateList.java:484)

at org.apache.xalan.templates.TemplateList.getTemplate(TemplateList.java:528)

at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:432)

at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)

at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)

at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)

at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2029)

at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1189)

at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)

at java.lang.Thread.run(Thread.java:513)

Does anybody have a solution to this problem?

We know this method exists in Node.class in XML4J.jar. This is giving us headache.

Thanks in advance.

Stephane

Subject: java.lang.NoSuchMethodError: org.w3c.dom.Node: Does anybody have a solution?

Stephane,

Add or update the JavaUserClasses parameter in notes.ini to include XML4J.jar. Since this JAR file should reside in the Notes or Domino program directory, you can just specify the file name in JavaUserClasses, you do not need to spell out the whole folder path to it.

Ken