This class is not present in XalanJ2.  It is a class from XalanJ1.  To
use JXRTF, you'll need to download XalanJ1.  However, it is no longer
the focus of development or support.  So, I'd advise upgrading your
source to use XalanJ2 and possibly contributing it back to the JXRTF
people.

Sorry, I don't know of any other XML -> RTF converters.

Gary

> -----Original Message-----
> From: Ilya Khandamirov [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, September 03, 2001 2:41 AM
> To: [EMAIL PROTECTED]
> Subject: NoClassDefFoundError: .../FormatterToText
> 
> 
> Hi,
> 
> I'm sorry if this message is a little bit off topic. I do not 
> know where the problem lies. Possibly, it is Xalan related. 
> Any help/advice/comment would be greatly appreciated.
> 
> Trying to run JXRTF (XML to RTF convertion utility
> http://oss.jway.lu/jxrtf.html) I get the following error message:
> 
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/xalan/xpath/xml/FormatterToText
> at org.gb.rtf.JMLTree.getRoot(JMLTree.java:49)
> at org.gb.rtf.JMLRTFCoder.<init>(JMLRTFCoder.java:49)
> at RtfBuilder.<init>(RtfBuilder.java:36)
> at RtfBuilder.main(RtfBuilder.java:213)
> 
> My environment:
> - Windows 2000;
> - Java 2 Runtime Environment Standard Edition v1.3.1
> - xalan-j_2_2_D9
> - 
> CLASSPATH=.;E:\Programme\Xalan\xalan-j_2_2_D9\bin\xerces.jar;E
> :\Programme\Xa
> lan\xalan-j_2_2_D9\bin\xalan.jar;
> 
> Command use to run the utility:
> E:\Jxrtf\jxrtf2_0a2>java -Djava.library.path=. RtfBuilder 
> tests/sol.rtf tests/style.xml tests/exemple.xml
> 
> p.s. Any pointers to XML2RTF convertion resources would be 
> appreciated as well.
> 
> 
> Regards,
> Ilya
> 

Reply via email to