Batik in applet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Paulina_Chryc
Posted On:   Monday, June 6, 2005 06:36 AM

Hi, I wrote applet and application and i used JSVGCanvas inside. Compilation is OK. When i try to run them application runs OK, applet gives me error: java.lang.NoClassDefFoundError: org/apache/batik/swing/JSVGCanvas at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618) at java.lang.Class.getConstructor0(Class.java:1930) at java.lang.Class.newInstance0(Class.java:278) at java.lang.Class.newInstance(Class.java:261) at sun.applet.AppletPanel.createApplet(AppletPanel.java:617) at sun.applet.AppletPanel.runLoader(AppletPanel.java:546) at sun.applet.AppletPanel.run(A   More>>

Hi,

I wrote applet and application and i used JSVGCanvas inside. Compilation is OK. When i try to run them application runs OK, applet gives me error:


java.lang.NoClassDefFoundError: org/apache/batik/swing/JSVGCanvas

at java.lang.Class.getDeclaredConstructors0(Native Method)

at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)

at java.lang.Class.getConstructor0(Class.java:1930)

at java.lang.Class.newInstance0(Class.java:278)

at java.lang.Class.newInstance(Class.java:261)

at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)

at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)

at sun.applet.AppletPanel.run(AppletPanel.java:298)

at java.lang.Thread.run(Thread.java:534)

How can i fix the problem??

   <<Less

Re: Batik in applet

Posted By:   Paulina_Chryc  
Posted On:   Thursday, June 9, 2005 05:20 AM

Hi,

I found a solution of a problem: When I added all batik jar files to archive in html code, error disapeared.
About | Sitemap | Contact