Back to LanguageTool Homepage - Privacy - Imprint

Java error log


(dipen@shangyeguwen.com) #1

when i open below any page in browser so got below error
localhost/jquery-atd-plugin/demo.html
localhost/jquery-atd-plugin/demo2.html
localhost/jquery-atd-plugin/demo3.html

2015-08-28 02:08:51 An error has occurred. Stacktrace follows:
java.lang.IllegalArgumentException: Missing 'text' parameter
at org.languagetool.server.LanguageToolHttpHandler.handle(LanguageToolHttpHandler.java:202)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)


(dipen@shangyeguwen.com) #2

i used below command to start languagetool server

java -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081


(huazai) #3

you can use like this:
http://localhost:{port}?text=this+is+a+book.&language=en

languagetool is a very simple http server.
Cannot parse file like "demo.html"