Hi Erik,
I just found the problem, took me some time to locate it.
I tried java with full debug, jetty with full debug, no success.
Finally I moved step by step from solr/example to my setup.
It turned out that you _must_ avoid to have
lucene-test-framework-4.0-SNAPSHOT.jar loaded.
After removing
Well, it's crude but it _might_ work. All the jars are logged
when loaded on startup. You might search through the
log for "3." or extract all the paths with a regex or something
and see if something jumps out and backtrack.
I really, really, _hate_ having to deal with this kind of thing
Best
The solr home dir is as suggested for solr 4.0 to be located below jetty.
So my directory structure is:
/srv/www/solr/solr-4.0.0/
-- dist ** has all apache solr and lucene libs not in .war
-- lib** has all other libs not in .war and not in dist, but required
-- jetty ** the jetty copied from
: SEVERE: null:java.lang.IllegalAccessError:
: class org.apache.lucene.codecs.lucene3x.PreFlexRWPostingsFormat cannot access
: its superclass org.apache.lucene.codecs.lucene3x.Lucene3xPostingsFormat
that sounds like a classpath error.
: Very strange, because some lines earlier in the logs I have
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