Re: [Jolie-devel] java.lang.ClassNotFoundException: org.json.simple.parser.ParseException
A service-oriented programming language.
Brought to you by:
fmontesi
From: Fabrizio M. <fam...@gm...> - 2014-01-21 07:53:55
|
Hi Matthias, could you send me a small program that triggers this? Cheers, Fabrizio. On Sun, Jan 12, 2014 at 9:44 PM, Matthias Dieter Wallnöfer <mwa...@ya...> wrote: > Hi Fabrizio & co, > > by experimenting always with the same code I face another issue if I > change the protocol to be "jsonrpc" rather than "sodep". > > I am getting this very odd exception. I can not understand it since > class "org.json.simple.parser.ParseException" is available in > /opt/jolie/lib/json_simple.jar - and the JSON parsing code seems to be > found. > > Cheers, > Matthias > >> Exception in thread "tinyClient.ol-JolieThread-3" java.lang.NoClassDefFoundError: org/json/simple/parser/ParseException >> at jolie.net.JsonRpcProtocol.recv(JsonRpcProtocol.java:102) >> at jolie.net.SocketCommChannel.recvImpl(SocketCommChannel.java:92) >> at jolie.net.CommChannel.recv(CommChannel.java:194) >> at jolie.net.CommCore$CommChannelHandlerRunnable.run(CommCore.java:602) >> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> at java.lang.Thread.run(Thread.java:744) >> Caused by: java.lang.ClassNotFoundException: org.json.simple.parser.ParseException >> at java.net.URLClassLoader$1.run(URLClassLoader.java:366) >> at java.net.URLClassLoader$1.run(URLClassLoader.java:355) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:354) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:425) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:358) >> at jolie.JolieClassLoader.loadClass(JolieClassLoader.java:107) >> ... 7 more > |