Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading class (己解决) #17

Open
GoogleCodeExporter opened this issue Mar 9, 2016 · 1 comment
Open

Error loading class (己解决) #17

GoogleCodeExporter opened this issue Mar 9, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link
Contributor

請教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 [email protected] on 17 Jan 2014 at 3:30

@GoogleCodeExporter
Copy link
Contributor Author

这个是个问题了,开发帮助文 档里有说明。

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

Original comment by [email protected] on 17 Jan 2014 at 11:26

  • Changed title: Error loading class (己解决)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant