<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META content="MSHTML 5.00.3211.1700" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=976302513-29052001>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).</SPAN></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Michel De Lange
[mailto:michel.delange@inno.com]<BR><B>Sent:</B> Tuesday, May 29, 2001 4:54
PM<BR><B>To:</B> jdom-interest@jdom.org<BR><B>Subject:</B> [jdom-interest]
Visual Age and JDOM<BR><BR></DIV></FONT>
<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></BLOCKQUOTE></BODY></HTML>