durgeshiitj / ik-analyzer

Automatically exported from code.google.com/p/ik-analyzer
0 stars 0 forks source link

solr4.0出现的问题,用的那个FF hotfix版本,求解决 #97

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Caused by: org.apache.solr.common.SolrException: Plugin init failure for 
[schema.xml] analyzer/tokenizer: class org.wltea.analyzer.lucene.IKAnalyzer
        at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:177)
        at org.apache.solr.schema.FieldTypePluginLoader.readAnalyzer(FieldTypePluginLoader.java:344)
        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)
        ... 34 more
Caused by: java.lang.ClassCastException: class 
org.wltea.analyzer.lucene.IKAnalyzer
        at java.lang.Class.asSubclass(Class.java:3037)
        at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:420)
        at org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:457)
        at org.apache.solr.util.plugin.AbstractPluginLoader.create(AbstractPluginLoader.java:89)
        at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:151)
        ... 38 more

Original issue reported on code.google.com by sinf...@gmail.com on 26 Nov 2012 at 1:14

GoogleCodeExporter commented 8 years ago
能说一下你的JDK版本么,这个是类加载器出问题了,很可能��
�jdk版本不对,试试JDK6.0+

Original comment by linliang...@gmail.com on 4 Dec 2012 at 9:49

GoogleCodeExporter commented 8 years ago

Original comment by linliang...@gmail.com on 26 Dec 2012 at 9:55

GoogleCodeExporter commented 8 years ago
我也出现这个问题,jdk7_u11

Original comment by zhang.pe...@gmail.com on 24 Jan 2013 at 9:56

GoogleCodeExporter commented 8 years ago
我也出这个问题 jdk7

Original comment by ruela...@gmail.com on 1 Feb 2013 at 7:10

GoogleCodeExporter commented 8 years ago
我也出现这个问题

Original comment by iamlup...@gmail.com on 13 Sep 2013 at 1:39

GoogleCodeExporter commented 8 years ago
我的也是这个问题,jdk 1.6.0_31,solr 4.5

Original comment by camel...@gmail.com on 23 Oct 2013 at 6:35

GoogleCodeExporter commented 8 years ago
不好意思,是我配置错了,应该配置在 analyzer 的 
class,我配置到 tokenizer 中了。

Original comment by camel...@gmail.com on 23 Oct 2013 at 9:31