Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
yuritsukahara
yuritsukahara's Profile
1
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
NoClassDefFoundError: processing/core/XML
[3 Replies]
26-Sep-2012 02:18 PM
Forum:
Core Library Questions
I searched for instructions but I don't found. anyone know the solution?
"NoClassDefFoundError: processing/core/XML"
Processing ver 2.0b3
Java 7
Problem:
Exception in thread "Animation Thread" java.lang.NoClassDefFoundError: processing/core/XML
at geomerative.RSVG.toShape(RSVG.java:126)
at geomerative.RG.loadShape(RG.java:242)
at Tutorial_09_HelloBot_svgToGroup.setup(Tutorial_09_HelloBot_svgToGroup.java:34)
at processing.core.PApplet.handleDraw(PApplet.java:2103)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: processing.core.XML
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 7 more
Code:
import geomerative.*;
RShape shp;
void setup(){
size(800, 600);
smooth();
// VERY IMPORTANT: Allways initialize the library before using it
RG.init(this);
shp = RG.loadShape("tiger.svg");
shp = RG.centerIn(shp, g);
}
void draw(){
background(255);
translate(mouseX, mouseY);
RG.shape(shp);
}
«Prev
Next »
Moderate user : yuritsukahara
Forum