Back to LanguageTool Homepage - Privacy - Imprint

Getting error on running mvn clean package in languagetool dir


(pratikbsp) #1

as per http://wiki.languagetool.org/adding-a-new-language I have done all the necessary steps but when i ran mvn clean package in languagetool dir i got a built failure:-

Results :

Tests in error:
HTTPServerLoadTest>HTTPServerTest.testEnabledOnlyParameter:206 ╗ PortBinding L
...

Tests run: 20, Failures: 0, Errors: 1, Skipped: 2

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] languagetool-parent ................................ SUCCESS [ 1.324 s]
[INFO] LanguageTool Style and Grammar Checker Core ........ SUCCESS [ 20.239 s]
[INFO] English module for LanguageTool .................... SUCCESS [09:58 min]
[INFO] Persian module for LanguageTool .................... SUCCESS [ 14.868 s]
[INFO] Hunspell native libs for LanguageTool .............. SUCCESS [ 0.817 s]
[INFO] French module for LanguageTool ..................... SUCCESS [ 17.516 s]
[INFO] German module for LanguageTool ..................... SUCCESS [02:44 min]
[INFO] Polish module for LanguageTool ..................... SUCCESS [01:59 min]
[INFO] Catalan module for LanguageTool .................... SUCCESS [02:19 min]
[INFO] Italian module for LanguageTool .................... SUCCESS [ 5.100 s]
[INFO] Breton module for LanguageTool ..................... SUCCESS [ 7.585 s]
[INFO] Dutch module for LanguageTool ...................... SUCCESS [ 12.675 s]
[INFO] Portuguese module for LanguageTool ................. SUCCESS [ 8.199 s]
[INFO] Russian module for LanguageTool .................... SUCCESS [04:32 min]
[INFO] Asturian module for LanguageTool ................... SUCCESS [ 3.867 s]
[INFO] Belarusian module for LanguageTool ................. SUCCESS [ 2.210 s]
[INFO] Chinese module for LanguageTool .................... SUCCESS [ 26.998 s]
[INFO] Danish module for LanguageTool ..................... SUCCESS [ 4.317 s]
[INFO] Esperanto module for LanguageTool .................. SUCCESS [ 10.264 s]
[INFO] Galician module for LanguageTool ................... SUCCESS [ 6.309 s]
[INFO] Greek module for LanguageTool ...................... SUCCESS [ 2.757 s]
[INFO] Icelandic module for LanguageTool .................. SUCCESS [ 2.886 s]
[INFO] Japanese module for LanguageTool ................... SUCCESS [01:53 min]
[INFO] Khmer module for LanguageTool ...................... SUCCESS [ 5.905 s]
[INFO] Lithuanian module for LanguageTool ................. SUCCESS [ 4.119 s]
[INFO] Malayalam module for LanguageTool .................. SUCCESS [ 3.457 s]
[INFO] Romanian module for LanguageTool ................... SUCCESS [ 7.235 s]
[INFO] Slovak module for LanguageTool ..................... SUCCESS [ 6.946 s]
[INFO] Slovenian module for LanguageTool .................. SUCCESS [ 2.481 s]
[INFO] Spanish module for LanguageTool .................... SUCCESS [ 4.901 s]
[INFO] Swedish module for LanguageTool .................... SUCCESS [ 3.255 s]
[INFO] Tamil module for LanguageTool ...................... SUCCESS [ 2.891 s]
[INFO] Tagalog module for LanguageTool .................... SUCCESS [ 2.392 s]
[INFO] Ukrainian module for LanguageTool .................. SUCCESS [ 14.731 s]
[INFO] Hindi module for LanguageTool ...................... SUCCESS [ 1.197 s]
[INFO] Simple German module for LanguageTool .............. SUCCESS [ 3.040 s]
[INFO] All language modules for LanguageTool .............. SUCCESS [ 0.126 s]
[INFO] LanguageTool common GUI classes .................... SUCCESS [ 1.332 s]
[INFO] LanguageTool command-line version .................. SUCCESS [ 29.231 s]
[INFO] LanguageTool embedded HTTP server .................. FAILURE [ 26.157 s]
[INFO] LanguageTool stand-alone GUI ....................... SKIPPED
[INFO] LanguageTool LibreOffice/OpenOffice extension ...... SKIPPED
[INFO] LanguageTool Wikipedia tools ....................... SKIPPED
[INFO] LanguageTool development tools ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27:57 min
[INFO] Finished at: 2015-03-24T19:38:33+05:30
[INFO] Final Memory: 23M/64M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
18.1:test (default-test) on project languagetool-server: There are test failures
.
[ERROR]
[ERROR] Please refer to C:\Users\pratikbsp\languagetool\languagetool-server\targ
et\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 swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn -rf :languagetool-server


(Daniel Naber) #2

You need to make sure that nothing else is running on port 8081 (also not another instance of LT), which is the default port used for the tests.


(pratikbsp) #3

Thanks, It worked.But new built failure is due to:-
[INFO] LanguageTool stand-alone GUI ....................... FAILURE [06:21 min]
[ERROR] Please refer to C:\Users\pratikbsp\languagetool\languagetool-standalone\
target\surefire-reports for the individual test results.