User 90425de59b
13-10-2009 11:00:38
Hi,
I'm currently trying to include the marvin sketcher in a java application. I've an exception thrown at the initialization of the sketcher object:
sketcher = new MSketchPane();
Throws the following exception:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: cb/aloe/swing/tools/DockPane
at chemaxon.marvin.beans.MSketchPane.<init>(Unknown Source)
at chemaxon.marvin.beans.MSketchPane.<init>(Unknown Source)
<snip>
Caused by: java.lang.ClassNotFoundException: cb.aloe.swing.tools.DockPane
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 35 more
Here is my java -version output:
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
I really don't understand, as the sketcher standalone program works fine. I'm developping under netbeans 6.5.1 and I'm using MarvinBeans 5.2.0
Thanks in advance.
Vincent.