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

NoClassDefFoundError: org/slf4j/LoggerFactory #13

Open
KnowledgeGarden opened this issue Jan 11, 2014 · 2 comments
Open

NoClassDefFoundError: org/slf4j/LoggerFactory #13

KnowledgeGarden opened this issue Jan 11, 2014 · 2 comments

Comments

@KnowledgeGarden
Copy link

NoClassDefFoundError: org/slf4j/LoggerFactory
at org.apache.solr.core.SolrResourceLoader.(SolrResourceLoader.java:66)

Booted in a fresh Kepler Eclipse. First boot got that error message.
Then tried a mvn clean install and re-run. Nothing changed.

@KnowledgeGarden
Copy link
Author

I managed to move that exception to this one:
java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such table: cas)
by creating a lib/ directory in the eclipse project and filling it with missing jars. That failure follows this one:

SEVERE: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpConnectionManager
at org.apache.solr.handler.component.SearchHandler.(SearchHandler.java:52)

even though I installed the HTTPClient jars from a Solr 3.6 war file., along with the full Lucene 3.6 collection, and various other jar files.

@KnowledgeGarden
Copy link
Author

Replacing HTTPClient 4 jars with HTTPClient 3.0.1 got rid of the missing HttpConnectionManager (it's not clear how Solr will run without the 4.0 clients), but the missing database issue remains.

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

1 participant