<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>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 </FONT><FONT face=Arial size=2>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:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thread[main,5,main] (Alive): Exception Caught:
java.lang.NoSuchMethodError<BR>Converters.newConverter(String,
Class)<BR>Converters.newConverter(int,
String)<BR>CharToByteConverter.getConverter(String)<BR>OutputStreamWriter(OutputStream,
String)<BR>XMLOutputter.makeWriter(OutputStream)<BR></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>The solution is to put in a statement:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>fmt.setEncoding("ISO-8859-1"); </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>(where fmt is the XMLOutputter). I just wanted
to share that with you all. Cheers,</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Michel</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>