[jdom-interest] Visual Age and JDOM
philip.nelson at omniresources.com
philip.nelson at omniresources.com
Tue May 29 06:17:26 PDT 2001
Hmmm, I use VAJ every day and haven't run into this. What version of VAJ
are you using? You probably shouldn't be using the JDK 1.1 version with VAJ
unless you are at VAJ 2 or 3 (but not Early Adopters).
-----Original Message-----
From: Michel De Lange [mailto:michel.delange at inno.com]
Sent: Tuesday, May 29, 2001 4:54 PM
To: jdom-interest at jdom.org
Subject: [jdom-interest] Visual Age and JDOM
I had a program, which worked fine with Forte, and then I imported it to
Visual Age. First, I had a problem (nosuchmethod) in Document. Then I ran
the build11 batch files to change the import statements in JDOM, and then I
had an error that the reference to LinkedList was ambiguous. I removed one
of the import statements, and then I had an error, this time in Element:
Thread[main,5,main] (Alive): Exception Caught: java.lang.NoSuchMethodError
Converters.newConverter(String, Class)
Converters.newConverter(int, String)
CharToByteConverter.getConverter(String)
OutputStreamWriter(OutputStream, String)
XMLOutputter.makeWriter(OutputStream)
The solution is to put in a statement:
fmt.setEncoding("ISO-8859-1");
(where fmt is the XMLOutputter). I just wanted to share that with you all.
Cheers,
Michel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20010529/9af51a23/attachment.htm
More information about the jdom-interest
mailing list