Hi!
I'm failing to import final classes from a java package. Importing normal classes works fine. For example:
gtk-examples.snooping> (import 'org.gnome.gdk.MouseButton) org.gnome.gdk.MouseButton gtk-examples.snooping> (import 'org.gnome.gdk.ModifierType) ; Evaluation aborted. gtk-examples.snooping>
The last import yields a NoClassDefFoundError. Here is a more complete output:
Could not initialize class org.gnome.gdk.ModifierType [Thrown class java.lang.NoClassDefFoundError] Restarts: 0: [QUIT] Quit to the SLIME top level Backtrace: 0: java.lang.Class.forName0(Native Method) 1: java.lang.Class.forName(Class.java:186) 2: gtk_examples.snooping$eval2063.invoke(NO_SOURCE_FILE:1) 3: clojure.lang.Compiler.eval(Compiler.java:5424) 4: clojure.lang.Compiler.eval(Compiler.java:5415) 5: clojure.lang.Compiler.eval(Compiler.java:5391) 6: clojure.core$eval.invoke(core.clj:2382) --more--
Any idea of what is going on?
Thanks!