[Xapian-devel] Java Swig bindings - error in SmokeTest

Charlie Hull charlie at juggler.net
Mon Apr 7 14:02:27 BST 2008


Hi all,

I've now got a MSVC make file for the Java Swig bindings working - 
except it doesn't quite pass the Smoke Test. The error is:

Exception in thread "main" java.lang.NoClassDefFoundError: MyExpandDecider
Caused by: java.lang.ClassNotFoundException: MyExpandDecider
         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:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)


If I comment out lines 24-41 and lines 124-126 it passes. Can anyone 
(with a bit more Java knowledge perchance!) let me know how I might fix 
the SmokeTest.java file? There are some comments near these lines that 
give me the impression they might be needing a fix anyway....

Cheers


Charlie



More information about the Xapian-devel mailing list