zhangmt / jcseg

Automatically exported from code.google.com/p/jcseg
0 stars 0 forks source link

Error loading class (己解决) #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
請教solr-4.6.0下想要使用jcseg遇到問題

jcseg-core-1.9.1.jar, jcseg.properties, jcseg-solr-1.9.1.jar, 
lexicon語系目錄皆已放置在/root/solr-4.6.0/example/lib下

jcseg.properties裡的lexicon.path=/root/solr-4.6.0/example/lib/lexicon

/root/solr-4.6.0/example/solr/collection1/conf/schema.xml裡也設定好
<fieldType name="text_general" class="solr.TextField" 
positionIncrementGap="100">....
<tokenizer class="org.lionsoul.jcseg.solr.JcsegTokenizerFactory"/>
.....

但啟動時出現
「Unable to create core: collection1
org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] 
fieldType "text_general": Pluailure for [schema.xml] analyzer/tokenizer: Error 
loading class 'org.lionsoul.jcseg.solr.JcsegTokenizerFchema file is 
/root/solr-4.6.0/example/solr/collection1/schema.xml」
「org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] 
fieldType "text_general": Plugin init failure for [schema.xml] 
analyzer/tokenizer: Error loading class 'org.lionsoul.jcseg.solr.JcseFactory'」

請教該如何處理?謝謝

Original issue reported on code.google.com by cch0...@gmail.com on 17 Jan 2014 at 3:30

GoogleCodeExporter commented 9 years ago
这个是个问题了,开发帮助文 档里有说明。

不好 
意思,回家过年了,手机打字不方便,开源中国jcseg讨论区有关�
��jcseg和solr集成的文档和讨论,或者谷歌一下jcseg 
solr也能得到很多教程。

Original comment by chenxin6...@gmail.com on 17 Jan 2014 at 11:26