logo       

RE: setTextContent function not found....: msg#00044

Subject: RE: setTextContent function not found....
If you're compiling in one environment and running in a different one you 
need to use the Endorsed Standards Override Mechanism there as well.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@xxxxxxxxxx
E-mail: mrglavas@xxxxxxxxxx

"Kishore Lakshmana Nererella - TLS, Chennai" <kishoreln@xxxxxx> wrote on 
10/14/2006 01:28:45 AM:

> Hi Michael Glavassevich,
>         Thanks for your reply. I could able to compile the project 
> by adding endorsement folder and adding jar files in that folder, 
> but getting the issue as  "java.lang.NoSuchMethodError: org.w3c.dom.
> Node.setTextContent(Ljava/lang/String;)V" while linking time.
> 
> Please reply me if you know how to resolve this issue.
> Thank you 
> 
> Regards,
> Kishore.
> 
> 
> -----Original Message-----
> From: Michael Glavassevich [mailto:mrglavas@xxxxxxxxxx]
> Sent: Friday, October 13, 2006 7:40 PM
> To: j-users@xxxxxxxxxxxxxxxxx
> Cc: kishoreln@xxxxxx
> Subject: Re: setTextContent function not found....
> 
> 
> "Kishore Lakshmana Nererella - TLS, Chennai" <kishoreln@xxxxxx> wrote on
> 10/13/2006 09:22:52 AM:
> 
> > Hi,
> >    I am working on an XML module in a Java project. I am using 
Apache's
> > Xerces library for XML handling. While building the project using Ant
> script
> > (ver 1.6.5), I am getting an error of "cannot resolve symbol: method
> > setTextContent(java.lang.String)". Going through the libraries that 
ant
> > build accesses, I found that it is using xml-apis.jar for XML
> functionality.
> > I went through the JAR file and found that it doesn't have the
> > setTextContent function of Node class. Then I replaced this JAR file
> with
> > the Xerces 2.8.1's xml-apis.jar file (a newer version which has this
> > function included in it). Inspite of doing this, I am getting the same
> > error.
> >
> > Can somebody please help me in resolving this issue? I had been 
working
> on
> > this issue since two days. So, please help me out.
> 
> If you're running with JDK 1.4+ you need to use the "Endorsed Standards
> Override Mechanism" [1].
> 
> > Thanks in advance.
> >
> > Regards,
> > Kishore.
> 
> [1] http://java.sun.com/j2se/1.4.2/docs/guide/standards/
> 
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: mrglavas@xxxxxxxxxx
> E-mail: mrglavas@xxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe