> I tried that and got the following result. Do I have to do > anything other > than the mentioned instructions to make it work? > > HTTP ERROR: 500 > > tried to access field > org.apache.lucene.queryParser.QueryParser.field from > class > org.apache.lucene.queryParser.ComplexPhraseQueryParser$ComplexPhraseQuery > > java.lang.IllegalAccessError: tried to access field > org.apache.lucene.queryParser.QueryParser.field from class > org.apache.lucene.queryParser.ComplexPhraseQueryParser$ComplexPhraseQuery
I have never noticed this since i am using this class with custom super class. Thanks for it. It seems that the reason: "A class loaded by one classloader can't access package-visible members in a class loaded by a different classloader even if they are nominally in the same package." [1] [1]http://www.pubbs.net/grails/200911/37981/ I think easiest thing to do is to place ComplexPhrase-1.0.jar (created by mvn package) under apache-solr-1.4.0\lib directory. And create a new apache-solr-1.4.0\dist\apache-solr-1.4.1-dev.war by invoking "ant dist" . I tested this solution and it works as a workaround. It would be great if you give us feedback after using it.