Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save developmentalmadness/5110299 to your computer and use it in GitHub Desktop.
Save developmentalmadness/5110299 to your computer and use it in GitHub Desktop.
Tamingtext build error - failed test - QATest
-------------------------------------------------------------------------------
Test set: com.tamingtext.qa.QATest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.119 sec <<< FAILURE!
com.tamingtext.qa.QATest Time elapsed: 0 sec <<< ERROR!
java.lang.RuntimeException: java.lang.RuntimeException: java.io.FileNotFoundException: opennlp-models\en-answer.bin (The system cannot find the file specified)
at org.apache.solr.util.TestHarness.<init>(TestHarness.java:149)
at org.apache.solr.util.TestHarness.<init>(TestHarness.java:131)
at org.apache.solr.util.TestHarness.<init>(TestHarness.java:121)
at org.apache.solr.SolrTestCaseJ4.initCore(SolrTestCaseJ4.java:275)
at org.apache.solr.SolrTestCaseJ4.initCore(SolrTestCaseJ4.java:142)
at org.apache.solr.SolrTestCaseJ4.initCore(SolrTestCaseJ4.java:131)
at com.tamingtext.qa.QATest.beforeClass(QATest.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.apache.lucene.util.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:61)
at org.apache.lucene.util.UncaughtExceptionsRule$1.evaluate(UncaughtExceptionsRule.java:74)
at org.apache.lucene.util.StoreClassNameRule$1.evaluate(StoreClassNameRule.java:36)
at org.apache.lucene.util.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:67)
at org.junit.rules.RunRules.evaluate(RunRules.java:18)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:74)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: opennlp-models\en-answer.bin (The system cannot find the file specified)
at com.tamingtext.qa.QuestionQParserPlugin.init(QuestionQParserPlugin.java:118)
at org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:445)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1612)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1606)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1639)
at org.apache.solr.core.SolrCore.initQParsers(SolrCore.java:1556)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:555)
at org.apache.solr.util.TestHarness$Initializer.initialize(TestHarness.java:179)
at org.apache.solr.util.TestHarness.<init>(TestHarness.java:136)
... 33 more
Caused by: java.io.FileNotFoundException: opennlp-models\en-answer.bin (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at com.tamingtext.qa.QuestionQParserPlugin.init(QuestionQParserPlugin.java:111)
... 41 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment