This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Problem with DisplayTag.. required libraries are missing: com/lowagie/text/Element Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem with DisplayTag.. required libraries are missing: com/lowagie/text/Element" Watch "Problem with DisplayTag.. required libraries are missing: com/lowagie/text/Element" New topic
Author

Problem with DisplayTag.. required libraries are missing: com/lowagie/text/Element

a kishore
Ranch Hand

Joined: Sep 16, 2009
Posts: 82
Hi Everyone,

Does any one got the same error as below while working with DisplayTag?

WARN [http-8084-6] (ExportViewFactory.java:105) - Unable to instantiate class for pdf export. org.displaytag.export.PdfView was found, but required libraries are missing: com/lowagie/text/Element

I couldnt get rid of this. IF anyone know the solution please let me know.

Thanks in advance,
kishore
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
You need to add the iText library to the classpath (by putting its jar file into WEB-INF/lib).


Ping & DNS - my free Android networking tools app
a kishore
Ranch Hand

Joined: Sep 16, 2009
Posts: 82
Thanks for your reply,

i tried it before and now also, but then getting same error. Any other solution?

thank you,
kishore
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem with DisplayTag.. required libraries are missing: com/lowagie/text/Element