jfor demo does not work

Andreas Jung <[email protected]> Fri, 25 Mar 2005 17:47:31 +0100
Newsgroups gmane.text.xml.jfor.general
Message-ID <B6CF32A13BE3D0D65BF6546A@[192.168.0.35]>
--==========6699F5337F7F6FFD1B21==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I tried to run the first jfor demo as documented on the JFor pages but it=20
fails since it can not
find anything related to apache/log. Which jar file do I need in addition?

java -cp $JFOR_HOME/dist/lib/jfor.jar=20
org.jfor.jfor.rtflib.testdocs.CreateTestDocuments outdir
CreateTestDocuments - using jfor V0.7.2rc1 - see http://www.jfor.org
Generates documents to test the jfor RTF library.
Generating document outdir/SimpleDocument.rtf...
Generating document outdir/TextAttributes.rtf...
Generating document outdir/SimpleTable.rtf...
Generating document outdir/SimpleLists.rtf...
Generating document outdir/ListInTable.rtf...
Generating document outdir/Whitespace.rtf...
Generating document outdir/MergedTableCells.rtf...
Generating document outdir/NestedTable.rtf...
Generating document outdir/ExternalGraphic.rtf...
Exception in thread "main" java.lang.NoClassDefFoundError:=20
org/apache/log/Hierarchy
        at org.jfor.jfor.converter.ConverterLogChannel.<clinit>(Unknown=20
Source)
        at org.jfor.jfor.rtflib.rtfdoc.RtfFile.getLog(Unknown Source)
        at org.jfor.jfor.rtflib.rtfdoc.RtfContainer.addChild(Unknown =
Source)
        at org.jfor.jfor.rtflib.rtfdoc.RtfElement.<init>(Unknown Source)
        at org.jfor.jfor.rtflib.rtfdoc.RtfElement.<init>(Unknown Source)
        at org.jfor.jfor.rtflib.rtfdoc.RtfLineBreak.<init>(Unknown Source)
        at org.jfor.jfor.rtflib.rtfdoc.RtfParagraph.newLineBreak(Unknown=20
Source)
        at=20
org.jfor.jfor.rtflib.testdocs.ExternalGraphic.generateDocument(Unknown=20
Source)
        at=20
org.jfor.jfor.rtflib.testdocs.TestDocument.generateOutput(Unknown Source)
        at=20
org.jfor.jfor.rtflib.testdocs.CreateTestDocuments.createOneTestDocument(Unkn=
own=20
Source)
        at org.jfor.jfor.rtflib.testdocs.CreateTestDocuments.<init>(Unknown =

Source)
        at org.jfor.jfor.rtflib.testdocs.CreateTestDocuments.main(Unknown=20
Source)

--==========6699F5337F7F6FFD1B21==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFCRECkCJIWIbr9KYwRAo/AAKDpYsJw53NdPMMUFGW2DLJOLeacEACgpvQU
SpIb3x0ugM92Whpw5Qf1HTo=
=/9Il
-----END PGP SIGNATURE-----

--==========6699F5337F7F6FFD1B21==========--



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click