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

An exception while integrating Hashr.jar into a collection in Solr #35

Open
ozymaxx opened this issue Jun 10, 2014 · 1 comment
Open

Comments

@ozymaxx
Copy link

ozymaxx commented Jun 10, 2014

When I'm trying to add Hashr.jar into a collection's solrconfig.xml, the server gives the following warning:

3200667 [qtp16504854-12] WARN org.eclipse.jetty.servlet.ServletHandler – Error for /solr/admin/cores
java.lang.VerifyError: class com.echonest.knowledge.hashr.HashAnalyzer overrides final method tokenStream.(Ljava/lang/String;Ljava/io/Reader;)Lorg/apache/lucene/analysis/TokenStream;

How can I fix this error?

Thanks in advance.

@windwhinny
Copy link

seems that HashrAnalyzer.java use an old version of solr dev lib.

I fix this by rewrite signature of tokenStream to :

public final TokenStream tokenStream(final String string, final Reader reader)

But when I build, I got another error:

BUILD FAILED
/home/ubuntu/echoprint-server/Hashr/nbproject/build-impl.xml:63: Source resource does not exist: /home/ubuntu/echoprint-server/lib/nblibraries.properties

Seems like they missing some file called nblibraries.properties

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

No branches or pull requests

2 participants