java.lang.NoClassDefFoundError: could not initialize class com.google.api.client.util.Daten
Wenn ich Programmieren, ist ein Fehler aufgetreten:
"java.lang.NoClassDefFoundError: Could not initialize class com.google.api.client.util.Data"
Wie es zu lösen?
- wo ist der code???
- mögliche Duplikate von Wie java Lösen.lang.NoClassDefFoundError?
- java.lang.NoClassDefFoundError: could not initialize class com.google.api.client.util.Daten an com.google.api.client.util.FieldInfo.<init>(FieldInfo.java:131) at com.google.api.client.util.FieldInfo.der(FieldInfo.java:104) bei com.google.api.client.util.ClassInfo.<init>(ClassInfo.java:181) bei com.google.api.client.util.ClassInfo.der(ClassInfo.java:92) at com.google.api.client.util.GenericData.<init>(GenericData.java:79) at com.google.api.client.http.HttpHeaders.<init>(HttpHeaders.java:59) at com.google.api.client.http.HttpRequest.<init>(HttpRequest.java:65)
- bei com.google.api.client.http.HttpTransport.buildRequest(HttpTransport.java:98) at com.google.api.client.http.HttpRequestFactory.buildRequest(HttpRequestFactory.java:89) at com.google.api.client.http.HttpRequestFactory.buildGetRequest(HttpRequestFactory.java:120)
Du musst angemeldet sein, um einen Kommentar abzugeben.
Die Möglichkeiten zur Behebung des java.lang.NoClassDefFoundError sind :- Folgen Sie dem link.
Was ist auf Grund NoClassDefFoundError in Java?
Wie zu beheben java.lang.
NoClassDefFoundError
:Dir oder einem code, den Sie importiert haben, in Ihr Projekt scheint zu beziehen sich auf die Daten der Google-Client-API, aber du hast es nicht importieren Sie die erforderlichen .jar-Datei in Ihre Projekte Abhängigkeiten.
Kopieren Sie dieses jar in Ihr Projekt: https://code.google.com/p/gdata-java-client/downloads/list?hl=de
Vielleicht ist die setup-Anleitung hier auch für Sie interessant: https://developers.google.com/gdata/articles/java_client_lib?hl=de#gdata