-
Notifications
You must be signed in to change notification settings - Fork 2
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
Missing method Docslice? #1
Comments
Hi @OkkeKlein I just
and everything is working. Could you please expand a bit about how you're using this handler? My shoot in the dark is one of the following:
Let me know, I'm happy to help. |
OK. It seems to work now. (missing method exception is gone) At least when I put it in solrconfig.xml. if I try to include it from another file it goes wrong: <xi:include href="solrconfig_autocomplete.xml" xmlns:xi="http://www.w3.org/2001/XInclude"> Thank you and feel free to close the issue. |
Back on this issue. I am trying to create a jar for Solr 8.7.0. But on mvn install I get [ERROR] /E:/Workspace/files/Java/composite-request-handler-master/src/main/java/io/sease/crh/CompositeRequestHandler.java:[67,54] constructor DocSlice in class org.apache.solr.search.DocSlice cannot be applied to given types; Thanks for any help you can provide. |
Solr 6.6.6 throws following exception
Caused by: org.apache.solr.common.SolrException: org.apache.solr.search.DocSlice.(II[I[FJF)V
at org.apache.solr.core.SolrCore.(SolrCore.java:977)
at org.apache.solr.core.SolrCore.(SolrCore.java:830)
at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:950)
... 7 more
Caused by: java.lang.NoSuchMethodError: org.apache.solr.search.DocSlice.(II[I[FJF)V
at io.sease.crh.CompositeRequestHandler.(CompositeRequestHandler.java:68)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:539)
at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:486)
at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:753)
at org.apache.solr.core.PluginBag.createPlugin(PluginBag.java:133)
at org.apache.solr.core.PluginBag.init(PluginBag.java:269)
at org.apache.solr.core.RequestHandlers.initHandlersFromConfig(RequestHandlers.java:130)
at org.apache.solr.core.SolrCore.(SolrCore.java:935)
... 9 more
The text was updated successfully, but these errors were encountered: