Hi! Thank you for the reply.
The export to PDF is working fine using iText. It only fails on the export to Word.
My suspicion is that it's calling the /my/data/tomcat/4.1.29/webapps/WEB-INF/lib/itext-1.4.2.jar instead of the /my/data/tomcat/4.1.29/webapps/myapp/WEB-INF/lib/a_itext-1.00.jar.
 
How would I be able to make the application point to the correct jar?
please help i'm a newbie.
 
thanks!
 
 

 
[EMAIL PROTECTED] wrote: -----

To: "Post all your questions about iText here" <[email protected]>
From: "Paulo Soares" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 03/30/2007 05:15PM
Subject: Re: [iText-questions] java.lang.NoClassDefFoundError

http://itext.ugent.be/library/question.php?id=18

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, March 30, 2007 9:23 AM
Subject: [iText-questions] java.lang.NoClassDefFoundError


> Hi!
> I'm debugging an application that exports data into word document.
> The export page doesn't seem to work and displays the following error
> message:
>
> java.lang.NoClassDefFoundError
>                 at com.lowagie.text.rtf.RtfWriter.initDefaults(Unknown
> Source)
>                 at com.lowagie.text.rtf.RtfWriter.(Unknown Source)
>                 at com.lowagie.text.rtf.RtfWriter.getInstance(Unknown
> Source)
> ...
>
> the server contains different versions of iText*.jar:
>
> /my/apps/pkg/tomcat/4.1.29/common/lib/itext-1.01.jar
> /my/data/tomcat/4.0.6/webapps/myapp/WEB-INF/lib/a_itext-1.00.jar
> /my/data/tomcat/4.1.29/webapps/myapp/WEB-INF/lib/a_itext-1.00.jar --> this
> is where the application resides
> /my/data/tomcat/4.1.29/webapps/anotherapp/WEB-INF/lib/itext-1.4.2.jar -->
> another application that uses higher version of iText
> /my/data/tomcat/4.1.29/webapps/WEB-INF/lib/itext-1.4.2.jar
>
> please help.
> thank you!
>
> jane


--------------------------------------------------------------------------------


> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


--------------------------------------------------------------------------------


> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to