Tuesday, August 28, 2012

Can someone please explain to me why I get this error?

I'm using a free google voice api. Now when I try to run it I get this error


Microsoft Windows [Version 6.1.7601]
02
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
03

04
C:\Users\*>cd desktop
05

06
C:\Users\*\Desktop>java -jar voice.jar
07
Exception in thread "main" java.lang.NoClassDefFoundError: gvjava/org/json/JSONE
08
xception
09
at java.lang.Class.getDeclaredMethods0(Native Method)
10
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
11
at java.lang.Class.getMethod0(Unknown Source)
12
at java.lang.Class.getMethod(Unknown Source)
13
at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
14
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
15
Caused by: java.lang.ClassNotFoundException: gvjava.org.json.JSONException
16
at java.net.URLClassLoader$1.run(Unknown Source)
17
at java.net.URLClassLoader$1.run(Unknown Source)
18
at java.security.AccessController.doPrivileged(Native Method)
19
at java.net.URLClassLoader.findClass(Unknown Source)
20
at java.lang.ClassLoader.loadClass(Unknown Source)
21
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
22
at java.lang.ClassLoader.loadClass(Unknown Source)
23
... 6 more
24

25
C:\Users\*\Desktop>

The api is here http://code.google.com/p/google-voice-java/
I am using the latest download
The api source is here http://google-voice-java.googlecode.com/svn/trunk/src/

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/H_-g5xlSSz4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment