Back to LanguageTool Homepage - Privacy - Imprint

How to run Languagetool server

Hello all!

I have moved my build artifact of languagetool-server from languagetool built to our own private server and now i want to start the server but when i run this command

java -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 --allow-origin "*"

it gives off this error

Exception in thread “main” java.lang.NoClassDefFoundError: org/languagetool/GlobalConfig
at org.languagetool.server.HTTPServerConfig.(HTTPServerConfig.java:103)
at org.languagetool.server.HTTPServer.main(HTTPServer.java:139)
Caused by: java.lang.ClassNotFoundException: org.languagetool.GlobalConfig
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
… 2 more

What can be a possible solution for this problem