On Sat, 18 May 2013 06:15:48 +0200, Jonathan Reeves <jer0...@tigermail.auburn.edu> wrote:

Get this when I try to run a program from the command-line or from a jar, but not from my IDE. What's up with that?

It means that the CLASSPATH is defined correctly in your IDE, but not when you run the program from the command-line.

NoClassDefFountError means the JVM doesn't know where to find the Element class.

Possible cause:
- you didn't add the iText jar to the CLASSPATH (the obvous reason for the error)
- you added two different versions of the iText jar to the CLASSPATH causing an ambiguity (a less obvious, and often overlooked reason for the error)
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to