My first guess would be a classpath error given this references lucene3x. Since all that's deprecated, is there any chance you're somehow getting a current trunk (5x) jar in there somehow?
Because I see no such error when I start 4.0... Best Erick On Mon, Oct 15, 2012 at 8:42 AM, Bernd Fehling <bernd.fehl...@uni-bielefeld.de> wrote: > Hi, > while starting solr-4.0.0 I get the following exception: > > SEVERE: null:java.lang.IllegalAccessError: > class org.apache.lucene.codecs.lucene3x.PreFlexRWPostingsFormat cannot access > its superclass org.apache.lucene.codecs.lucene3x.Lucene3xPostingsFormat > > > Very strange, because some lines earlier in the logs I have: > > Oct 15, 2012 2:30:24 PM org.apache.solr.core.SolrConfig initLibs > INFO: Adding specified lib dirs to ClassLoader > Oct 15, 2012 2:30:24 PM org.apache.solr.core.SolrResourceLoader > replaceClassLoader > INFO: Adding 'file:/srv/www/solr/solr-4.0.0/lib/lucene-core-4.0-SNAPSHOT.jar' > to classloader > > Why is solr-4.0.0 thinking that the superclass is not there? > > Any ideas? > > Regards > Bernd