NoClassdefinitionFound:/org/

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
sumankumarkurimilla
Posts: 1
Joined: Thu Apr 01, 2010 11:19 am
antibot: No, of course not.

NoClassdefinitionFound:/org/

Post by sumankumarkurimilla » Thu Apr 01, 2010 11:34 am

Dear All,

We are embedding Timeseries charts in applet ,as an individual applet it is running without any issues, but when we try to embed the same applet in to the JSP the applet is not opening,and leading to an error .A normal applet we can able to embed in the JSP and giving the output. we have added all the required jars to the Applet as well as to the applet.jar also added to the JSP page, it is giving much pain to us, as the whole work completed , around 12 graphs we have developed and finally it is leading to this error , because of this we are extending go live time . please suggest us.

Error Details attached below:-


java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jfree/data/time/RegularTimePeriod
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/jfree/data/time/RegularTimePeriod
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.plugin2.applet.Plugin2Manager$12.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.jfree.data.time.RegularTimePeriod
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 14 more
Caused by: java.io.IOException: open HTTP connection failed:_http://localhost:8084/DemoWeb/org/jfree/data/time/RegularTimePeriod.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 17 more
Exception: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jfree/data/time/RegularTimePeriod



Thanks inadvance,

Suman

Locked