« Return to Thread: NoClassDefFoundError

Re: NoClassDefFoundError

by Philip Warne :: Rate this Message:

Reply to Author | View in Thread

Well not wanting to "expose" too much but could it be that you didn't select a main and as consequence your manifest file is left "bare" of the project main class?

John <johnbell@...> wrote:
Hi,

Using Windows XP SP2, netbeans 5.0 update 6

Please bare with me while I ask a couple dumb questions. The first has
to do with release .jars vs ide debug runs. Why does my application run
when I press F5, but if I compile it with F11 and run it from the
command line I get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/batik/tran
scoder/image/PNGTranscoder

Thanks


Get amazing travel prices for air and hotel in one click on Yahoo! FareChase

 « Return to Thread: NoClassDefFoundError