We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › ProSVG & java errors...
Page Index Toggle Pages: 1
ProSVG & java errors... (Read 463 times)
ProSVG & java errors...
May 21st, 2008, 11:15pm
 
Hi,

I'm getting this error when I'm trying to run the example from http://www.texone.org/prosvg/ after having installed the prosvg library into processing.

Can anyone give me any pointers?

Thanks,

Ben

2008-05-21 22:05:41.540 java[1128:80f] Can't open input server /Users/benhalsall/Library/InputManagers/SafariStand3.0L151
Exception in thread "Thread-2" java.lang.NoClassDefFoundError: processing/core/PGraphics2
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)

Re: ProSVG & java errors...
Reply #1 - Jun 29th, 2008, 1:32am
 
I got the same problems so i switched back to PDF output but i would like to try ProSVG. Did you solve the problem?
Re: ProSVG & java errors...
Reply #2 - Jun 29th, 2008, 5:16pm
 
I can be wrong, but I vaguely recalls that PGraphics2 class have been dropped some time ago. I suppose proSVG is a bit outdated. Looks like it should be updated...
Page Index Toggle Pages: 1