I have a Java Eclipse plugin and I am having trouble some really simple
I can do the following …
Language lang = Language.BRITISH_ENGLISH;
However I get a runtime error with the following…
JLanguageTool langTool = new JLanguageTool(Language.BRITISH_ENGLISH);
The following exception is thrown…
java.lang.NoClassDefFoundError: Could not initialize class
I unzipped your zip (from your homepage) to the root of my plugin and
added the jars and paths to the classpath.
Then I added the jar paths to the manifest.
I looked into the JLanguageTool.jar and I can see
org.languagetool.tokenizers.SRXSentenceTokenizer is in there.
I had originally unzipped your zip to my Eclipse plugins folder and
pointed the classpath there but had a runtime error with ‘JLanguageTool
So I unzipped it into the plugin root and at least was able to create an
instance of JLanguageTool after that.
Any ideas what is going wrong?
It looks like it could be a good tool for us,
So I would really like to resolve this.
Been messing around with it for a day now.
Any suggestions would be appreciated.