Re: Solr 3.5.0 can't find Carrot classes

2012-01-27 Thread Vadim Kisselmann
Hi Christopher,
when all needed jars are included, you can only have wrong paths in
your solrconfig.xml
Regards
Vadim



2012/1/26 Stanislaw Osinski :
> Hi,
>
> Can you paste the logs from the second run?
>
> Thanks,
>
> Staszek
>
> On Wed, Jan 25, 2012 at 00:12, Christopher J. Bottaro > wrote:
>
>> On Tuesday, January 24, 2012 at 3:07 PM, Christopher J. Bottaro wrote:
>> > SEVERE: java.lang.NoClassDefFoundError:
>> org/carrot2/core/ControllerFactory
>> >         at
>> org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngine.(CarrotClusteringEngine.java:102)
>> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
>> Source)
>> >         at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
>> >         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>> >         at java.lang.Class.newInstance0(Unknown Source)
>> >         at java.lang.Class.newInstance(Unknown Source)
>> >
>> > …
>> >
>> > I'm starting Solr with -Dsolr.clustering.enabled=true and I can see that
>> the Carrot jars in contrib are getting loaded.
>> >
>> > Full log file is here:
>> http://onespot-development.s3.amazonaws.com/solr.log
>> >
>> > Any ideas?  Thanks for the help.
>> >
>> Ok, got a little further.  Seems that Solr doesn't like it if you include
>> jars more than once (I had a lib dir and also  directives in the
>> solrconfig which ended up loading the same jars twice).
>>
>> But now I'm getting these errors:  java.lang.NoClassDefFoundError:
>> org/apache/solr/handler/clustering/SearchClusteringEngine
>>
>> Any help?  Thanks.


Re: Solr 3.5.0 can't find Carrot classes

2012-01-26 Thread Stanislaw Osinski
Hi,

Can you paste the logs from the second run?

Thanks,

Staszek

On Wed, Jan 25, 2012 at 00:12, Christopher J. Bottaro  wrote:

> On Tuesday, January 24, 2012 at 3:07 PM, Christopher J. Bottaro wrote:
> > SEVERE: java.lang.NoClassDefFoundError:
> org/carrot2/core/ControllerFactory
> > at
> org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngine.(CarrotClusteringEngine.java:102)
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> Source)
> > at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> > at java.lang.reflect.Constructor.newInstance(Unknown Source)
> > at java.lang.Class.newInstance0(Unknown Source)
> > at java.lang.Class.newInstance(Unknown Source)
> >
> > …
> >
> > I'm starting Solr with -Dsolr.clustering.enabled=true and I can see that
> the Carrot jars in contrib are getting loaded.
> >
> > Full log file is here:
> http://onespot-development.s3.amazonaws.com/solr.log
> >
> > Any ideas?  Thanks for the help.
> >
> Ok, got a little further.  Seems that Solr doesn't like it if you include
> jars more than once (I had a lib dir and also  directives in the
> solrconfig which ended up loading the same jars twice).
>
> But now I'm getting these errors:  java.lang.NoClassDefFoundError:
> org/apache/solr/handler/clustering/SearchClusteringEngine
>
> Any help?  Thanks.


Re: Solr 3.5.0 can't find Carrot classes

2012-01-24 Thread Christopher J. Bottaro
On Tuesday, January 24, 2012 at 3:07 PM, Christopher J. Bottaro wrote:
> SEVERE: java.lang.NoClassDefFoundError: org/carrot2/core/ControllerFactory
> at 
> org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngine.(CarrotClusteringEngine.java:102)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown 
> Source)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
> Source)
> at java.lang.reflect.Constructor.newInstance(Unknown Source)
> at java.lang.Class.newInstance0(Unknown Source)
> at java.lang.Class.newInstance(Unknown Source)
>  
> …
>  
> I'm starting Solr with -Dsolr.clustering.enabled=true and I can see that the 
> Carrot jars in contrib are getting loaded.
>  
> Full log file is here:  http://onespot-development.s3.amazonaws.com/solr.log  
>  
> Any ideas?  Thanks for the help.
>  
Ok, got a little further.  Seems that Solr doesn't like it if you include jars 
more than once (I had a lib dir and also  directives in the solrconfig 
which ended up loading the same jars twice).

But now I'm getting these errors:  java.lang.NoClassDefFoundError: 
org/apache/solr/handler/clustering/SearchClusteringEngine

Any help?  Thanks.