Hello all,

 

In schema.xml, I have following definition:

 

    <fieldtype name="text" class="solr.TextField">

      <analyzer type="index" class="jeasy.analysis.MMAnalyzer">

 

And I have put je-analysis-1.5.1.jar into solr-1.1.0-incubating/example/lib/

But when I type: java –jar start.jar, it reports error as following, and failed 
to start. I have test this JAR with lucene 2.1.0 and it works fine as a 
customized analyzer.

 

If you can give some advice, I will appreciate that. Sorry I was not able to 
provide source code of this MMAnalyzer class for detail investigation, because 
its close source to me. 

 

Regards,

David

 

 

Start.jar reports Error as following:

Caused by: java.lang.ClassNotFoundException: jeasy.analysis.MMAnalyzer

        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

…………………….

org.apache.solr.core.SolrException: Error loading class 
'jeasy.analysis.MMAnalyzer'

        at org.apache.solr.core.Config.findClass(Config.java:208)

        at org.apache.solr.core.Config.newInstance(Config.java:213)

…………………….

Reply via email to