Preeti Chakravarti wrote:
> Could someone please tell me what is wrong?

The main thing that is wrong, is that you are new to Java.
Please don't try to run before you can walk.

"Could not find the main class: HelloWorldPDF"
means you don't even have your own app in your Java CLASSPATH.

NoClassDefFoundError: com/lowagie/text/Element
may be an indication that you are using a JDK older than the
one used to compile iText.

These are pure Java problems, they aren't iText related.
Please read a book about Java first.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to