-
Notifications
You must be signed in to change notification settings - Fork 13
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
Beginner questions, java.lang.NoClassDefFoundError: javax/servlet/ServletRequest #15
Comments
OK, let me append the full output: And let me take a wild guess as well: This is somehow caused by the Solr server, right? Are you trying to launch an embedded Solr server? Can I somehow run it standalone? I'd really appreciate some help here. |
Hi,
I'm trying to get started with OAQA. My goal for now is a project that can answer basic questions as a stepping stone for more involved work (general knowledge would be preferred). Hence, I tried to compile HelloQA following the instructions (downloaded Gutenberg, extracted files, opened project in Eclipse 4.5.1, ran test.launch), but it throws java.lang.NoClassDefFoundErrors. I have been able to solve some by adding
<dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.13</version> </dependency> <dependency> <groupId>org.apache.lucene</groupId> <artifactId>lucene-core</artifactId> <version>3.6.0</version> </dependency> <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.3</version> </dependency>
to pom.xmlBut I now get
Phase: 2|retrieval-strategist> Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/ServletRequest
Since I'm completely inexperienced with this pipeline: What can I do now? Did you make any assumptions? Right now I have set up neither UIMA, Indri, CSE nor any other OAQA projects. Was I supposed to?
Thanks in advance.
Best wishes,
Joe
The text was updated successfully, but these errors were encountered: