Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Error that I get when trying to run the HTTP server in LanguageTool.
ankita @ Vhagar ~/Codes/languagetool-test/languagetool-clean/languagetool/languagetool-server/target $ java -cp languagetool-server-3.0-SNAPSHOT.jar org.languagetool.server.HTTPServer --port 8081
WARNING: running in HTTP mode, consider using SSL by running org.languagetool.server.HTTPSServer instead
Exception in thread "main" java.lang.NoClassDefFoundError: org/languagetool/language/LanguageIdentifier
at org.languagetool.server.LanguageToolHttpHandler.<init>(LanguageToolHttpHandler.java:84)
at org.languagetool.server.HTTPServer.<init>(HTTPServer.java:99)
at org.languagetool.server.HTTPServer.main(HTTPServer.java:144)
Caused by: java.lang.ClassNotFoundException: org.languagetool.language.LanguageIdentifier
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 3 more
@jeffrobdun

This comment has been minimized.

Copy link

@jeffrobdun jeffrobdun commented May 3, 2016

I'm having the same issue. Any word or suggestions on this?

@mdasadul

This comment has been minimized.

Copy link

@mdasadul mdasadul commented May 9, 2016

I am having same problem as well. Any solution?

@lizixroy

This comment has been minimized.

Copy link

@lizixroy lizixroy commented Jul 12, 2016

Have you guys found a solution?

@lizixroy

This comment has been minimized.

Copy link

@lizixroy lizixroy commented Jul 12, 2016

For what it's worth, the correct path where you will find languagetool-server.java is /languagetool-master/languagetool-standalone/target/LanguageTool-3.5-SNAPSHOT/LanguageTool-3.5-SNAPSHOT

@PhilippGawlik

This comment has been minimized.

Copy link

@PhilippGawlik PhilippGawlik commented Sep 22, 2016

@lizixroy thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.