I needed to use a java code in python to reduce, so I chose Jython. after a while, I've managed to figure out how to run my code, but I'm having the strangest thing. When I write
from vohmm.corpus import Token;
most of the time, I'll get a
java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: org/json/simple/JSONObject
but, when I'll do it again(sometimes after 3 attempts) it will import the class, missing out some methods, but I'm able to use the class.
any one can figure this out?
thanks, Eyal