Error Building Anserini on Windows
See original GitHub issueI have been having trouble building anserini on a windows computer using this command: mvn clean package appassembler:assemble
. It keeps throwing the following error:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:36 min
[INFO] Finished at: 2021-01-21T00:00:48Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project anserini: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\Owoicho\Documents\PhD Prep\PhD Stuff\anserini\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
I have Java 11 and Maven 3.6.3 installed:
>mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\Program Files\apache-maven-3.6.3\bin\..
Java version: 11.0.10, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.10
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>java -version
java version "11.0.10" 2021-01-19 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.10+8-LTS-162)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.10+8-LTS-162, mixed mode)
What could I be doing wrong? Please help!
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Error in building CmdStanr on Windows 10 - The Stan Forums
I worked around this by downloading the latest release of cmdstan from github. I put the extracted cmdstan-2.27.0 folder where my previous cmdstan...
Read more >Installing and Configuring — PyTerrier 0.9.1 documentation
PyTerrier is natively supported on Linux, Mac OS X and Windows. Installation¶. Installing PyTerrier is easy - it can be installed from the...
Read more >Windows cant open .zip file in CMD - Stack Overflow
Im trying to install Elasticsearch and Kibana in my anserini folder, but the command they give to install it doesnt work.
Read more >pyterrier - Resource | From RECIPE : Explainable Information ...
Linux or Google Colab or Windows. pip install python-terrier; You may need to set JAVA_HOME environment variable if Pyjnius cannot find your Java ......
Read more >Untitled
Laverlochere echirolles, Technic launcher download windows, Ustanovka windows na mac ... Frederick forsyth novels made into movies, Pc doctor error message, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @paulowoicho, I get the same issue on Windows which is due to an encoding error - one workaround is to build without enabling tests by adding the following flag:
-Dmaven.test.skip=true
So the full command would be:
mvn clean package appassembler:assemble -Dmaven.test.skip=true
Otherwise, I recommend installing the Windows Subsystem for Linux if you can, since it makes development a lot easier
Great and Big thanks for support and cooperation 👍