• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

plz help ! pb with Xalan...

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody !
First excuse my english level, I'm french & it's not easy for me...
I get the following Exception when i execute this line in a servlet:
transformer.transform(source, new StreamResult(fileOut));
Exception thrown on line '10' from page 'C:\\WEB_CLIENTS\\extranetmarketing\\extranetmarketing.crea.fr\\popup.jsp'.
java.lang.NoSuchMethodError
at org.apache.xpath.DOM2Helper.getNamespaceOfNode(DOM2Helper.java:348)
at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:281)
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:119)
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:320)

I'm working with Xalan.jar & Jaxp.jar
Any idea ?
Thx !
Jean-Baptiste.
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
java.lang.NoSuchMethodError
at org.apache.xpath.DOM2Helper.getNamespaceOfNode(DOM2Helper.java:348)

Depending on which version of xalan you are using, this method may be removed.
As of xalan_j_2_3_1, the method is deprecated. Previous versions maybe valid. Check what version of xalan is needed for running the application you are working on.
I can see the Javadocs in my local xalan_j_2_3_1 docs in the foll. path:xalan-j_2_3_1/docs/apidocs/index.html
The specific method link is at:
/xalan-j_2_3_1/docs/apidocs/org/apache/xpath/DOM2Helper.html#getNamespaceOfNode(org.w3c.dom.Node)
Good luck.
- madhav
 
Jean-Baptiste David
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for answering !
So I'll search an older version & try to run it...
thanks again !
 
reply
    Bookmark Topic Watch Topic
  • New Topic