Aha! I notice that this problem goes away if I run the JVM the way I'm supposed to (with -cp lucene-core.xxx.jar) instead of using (add- classpath ...) to load the jar in the first place. This probably isn't a big deal, then :o)
Thanks, Mark On Jan 13, 11:06 am, Mark Triggs <mark.h.tri...@gmail.com> wrote: > Hi all, > > I've just been fiddling with Lucene indexing from Clojure, and wanted > to > access a static field of this inner class: > > http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/index/Index... > > I'm importing IndexWriter$MaxFieldLength with no problems, but > attempts > to eval: > > IndexWriter$MaxFieldLength/UNLIMITED > > or > > (. IndexWriter$MaxFieldLength UNLIMITED) > > both yield the following exception: > > java.lang.IncompatibleClassChangeError: > org.apache.lucene.index.IndexWriter and > org.apache.lucene.index.IndexWriter$MaxFieldLength disagree on > InnerClasses attribute (NO_SOURCE_FILE:0) [Thrown class > clojure.lang.Compiler$CompilerException] > > I'm running SVN r1205. Am I doing something wrong here? > > Thanks, > > Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---