thienbui / language-detection

Automatically exported from code.google.com/p/language-detection
1 stars 0 forks source link

Jsonic bundle problem #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm getting the below error even though I have added jsonic.jar and jsonic.swc
Exception in thread "main" java.lang.NoClassDefFoundError: 
net/arnx/jsonic/JSONException
        at javaapplication31.Main.main(Main.java:29)
Caused by: java.lang.ClassNotFoundException: net.arnx.jsonic.JSONException
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 1 more

Original issue reported on code.google.com by suha.g...@gmail.com on 12 Jan 2011 at 3:51

GoogleCodeExporter commented 9 years ago
Hi.
As the message, the classloader can't find jsonic. What's your application's 
environment and classpath?

Original comment by nakatani.shuyo on 13 Jan 2011 at 7:44

GoogleCodeExporter commented 9 years ago
Thank you I handled the issue I was using an old version of jsonic.

Original comment by suha.g...@gmail.com on 14 Jan 2011 at 4:33

GoogleCodeExporter commented 9 years ago
I'm glad your problem is solved. thanks.

Original comment by nakatani.shuyo on 17 Jan 2011 at 5:07

GoogleCodeExporter commented 9 years ago
Same here: it worked if i use the 1.2.5 version of jsonic

Original comment by renaud.r...@gmail.com on 19 Jan 2011 at 9:18

GoogleCodeExporter commented 9 years ago
Same problem, same solution. Download and use new jsonic version (>1.2.5) and 
problem solved.

Original comment by samet2 on 17 Oct 2011 at 8:59

GoogleCodeExporter commented 9 years ago
Hello I am having the same problem. I tried all jsonic versions up to 1.3.0. I 
am using Eclipse Luna, JRE 1.8

Original comment by zezen...@gmail.com on 13 Nov 2014 at 10:19