On 8/18/2018 4:16 AM, Zahra Aminolroaya wrote:
My plugin works correctly in Solr. Now I want to have my plugin in solrCloud
mode:
I have a main jar file named "norm" and I have other jar files that my
"norm" is dependent on them:
"lucene-analyzers-common-6.6.1","lucene-core-6.6.1","slf4j-api-1.7.7","solr-core-6.6.1".
All of these dependencies are *already* included in Solr. If you include
them again, you can expect ClassNotFoundException on the classes they
contain. This is a well-known java classloader problem.
You only want to add your jar, not the dependencies.
however, I get class not found exception.
Can you include the entire error message and stacktrace? Is the Solr
version 6.6.1 or something else?
Thanks,
Shawn