Images don't come through the mailing list, can't see your image.

Whether or not all the jars in the directory you're working on are
consistent is the least of your problems. Are the libs to be found in any
_other_ place specified on your classpath?

Best,
Erick

On Wed, Mar 25, 2015 at 12:36 AM, Test Test <andymish...@yahoo.fr> wrote:

> Thanks Eric,
>
> I'm working on Solr 4.10.2 and all my dependencies jar seems to be
> compatible with this version.
>
> [image: Image en ligne]
>
> I can't figure out which one make this issue.
>
> Thanks
> Regards,
>
>
>
>
>   Le Mardi 24 mars 2015 23h45, Erick Erickson <erickerick...@gmail.com> a
> écrit :
>
>
> bq: 13 moreCaused by: java.lang.ClassCastException: class
> com.tamingtext.texttamer.solr.
>
> This usually means you have jar files from different versions of Solr
> in your classpath.
>
> Best,
> Erick
>
> On Tue, Mar 24, 2015 at 2:38 PM, Test Test <andymish...@yahoo.fr> wrote:
> > Hi there,
> > I'm trying to create my own TokenizerFactory (from tamingtext's
> book).After setting schema.xml and have adding path in solrconfig.xml, i
> start solr.I have this error message : Caused by:
> org.apache.solr.common.SolrException: Plugin init failure for [schema.xml]
> fieldType "text": Plugin init failure for [schema.xml] analyzer/tokenizer:
> class com.tamingtext.texttamer.solr.SentenceTokenizerFactory. Schema file
> is .../conf/schema.xmlat
> org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:595)at
> org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:166)at
> org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:55)at
> org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:69)at
> org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:90)at
> org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:62)...
> 7 moreCaused by: org.apache.solr.common.SolrException: Plugin init failure
> for [schema.xml] fieldType "text": Plugin init failure for [schema.xml]
> analyzer/tokenizer: class
> com.tamingtext.texttamer.solr.SentenceTokenizerFactoryat
> org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:177)at
> org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:486)... 12
> moreCaused by: org.apache.solr.common.SolrException: Plugin init failure
> for [schema.xml] analyzer/tokenizer: class
> com.tamingtext.texttamer.solr.SentenceTokenizerFactoryat
> org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:177)at
> org.apache.solr.schema.FieldTypePluginLoader.readAnalyzer(FieldTypePluginLoader.java:362)at
> org.apache.solr.schema.FieldTypePluginLoader.create(FieldTypePluginLoader.java:95)at
> org.apache.solr.schema.FieldTypePluginLoader.create(FieldTypePluginLoader.java:43)at
> org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:151)...
> 13 moreCaused by: java.lang.ClassCastException: class
> com.tamingtext.texttamer.solr.SentenceTokenizerFactoryat
> java.lang.Class.asSubclass(Class.java:3208)at
> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:474)at
> org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:593)at
> org.apache.solr.schema.FieldTypePluginLoader$2.create(FieldTypePluginLoader.java:342)at
> org.apache.solr.schema.FieldTypePluginLoader$2.create(FieldTypePluginLoader.java:335)at
> org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:151)
> > Someone can help?
> > Thanks.Regards.
>
>
>

Reply via email to