Re: Applet deployment problem
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Thu, 26 Feb 2009 17:04:05 -0500
NickPick wrote:
I'm compiling a JavaApplet which works fine when I run it with
NetBeans. But when I try to start it with a Browser with the generated
HTML file I get error messages and I don't know what went wrong:
thanks
java.lang.NoClassDefFoundError: org/jfree/data/general/PieDataset
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NoClassDefFoundError: org/jfree/data/general/PieDataset
at java.lang.Class.getDeclaredConstructors0(Native Method)
....
Put a Class-Path directive that refers to both the JFreeChart jar files
in the manifest of your jar file. And put those two in the same dir
as your jar file. Then it should work.
Arne
.
- Follow-Ups:
- Re: Applet deployment problem
- From: Lew
- Re: Applet deployment problem
- References:
- Applet deployment problem
- From: NickPick
- Applet deployment problem
- Prev by Date: Re: Is there any restriction in C++ calling Java methods?
- Next by Date: Re: BigInteger enhancing
- Previous by thread: Re: Applet deployment problem
- Next by thread: Re: Applet deployment problem
- Index(es):
Relevant Pages
|
Loading