2013-10-22 56 views
0

Google Plugin for Eclipse確實允許我登錄。我點擊灰顯登錄按鈕,輸入我的憑據,並且出現錯誤(如下)。我使用Eclipse 4.3和Google Plugin for Eclipse 4.3版本3.4.2。Google Plugin for Eclipse無法登錄Google

這裏是Eclipse的錯誤日誌:

Could not sign in. Make sure that you entered the correct verification code. 

org.codehaus.jackson.JsonParseException: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n, \t) is allowed between tokens 
at [Source: [email protected]; line: 1, column: 2] 
    at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1433) 
    at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:521) 
    at org.codehaus.jackson.impl.JsonParserMinimalBase._throwInvalidSpace(JsonParserMinimalBase.java:467) 
    at org.codehaus.jackson.impl.Utf8StreamParser._skipWSOrEnd(Utf8StreamParser.java:2322) 
    at org.codehaus.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:444) 
    at com.google.api.client.json.jackson.JacksonParser.nextToken(JacksonParser.java:55) 
    at com.google.api.client.json.JsonParser.startParsing(JsonParser.java:213) 
    at com.google.api.client.json.JsonParser.parse(JsonParser.java:372) 
    at com.google.api.client.json.JsonParser.parse(JsonParser.java:347) 
    at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:87) 
    at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:81) 
    at com.google.api.client.http.HttpResponse.parseAs(HttpResponse.java:459) 
    at com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeTokenRequest.execute(GoogleAuthorizationCodeTokenRequest.java:158) 
    at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java:385) 
    at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java:321) 
    at com.google.gdt.eclipse.login.ui.LoginTrimContribution$1.mouseUp(LoginTrimContribution.java:102) 
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:220) 
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) 
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392) 
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742) 
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363) 
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) 
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) 
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138) 
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610) 
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) 
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) 
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) 
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) 
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke(Method.java:606) 
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) 
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) 
    at org.eclipse.equinox.launcher.Main.run(Main.java:1450) 
    at org.eclipse.equinox.launcher.Main.main(Main.java:1426) 

eclipse.buildId=4.3.0.M20130911-1000 
java.version=1.7.0_25 
java.vendor=Oracle Corporation 
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US 
Framework arguments: -Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/ -Dosgi.requiredJavaVersion=1.5 -Dhelp.lucene.tokenizer=standard -XX:MaxPermSize=256m -Xms40m -Xmx512m -product org.eclipse.epp.package.jee.product 
Command-line arguments: -os linux -ws gtk -arch x86_64 -Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/ -Dosgi.requiredJavaVersion=1.5 -Dhelp.lucene.tokenizer=standard -XX:MaxPermSize=256m -Xms40m -Xmx512m -product org.eclipse.epp.package.jee.product 

回答

1

我沒有任何問題,它看起來像我們所擁有的一切類似的版本...我只是做一個更新

Java版本「1.7.0_25」 Java版本「1.7.0_25」 谷歌應用程序法國天然氣蘇伊士集團Java SDK 1.8.6 eclipse 4.3版本的Google插件3.4.2.v2011310081834-rel-r43 uname -a Linux archdd 3.11.6-1-ARCH#1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013 x86_64 GNU/Linux

+0

嗯。這非常令人鼓舞。我發現我的問題來自org.codehaus.jackson.JsonParseException。我不知道傑克遜甚至在JDK中。它在我的項目構建路徑中,但即使關閉該項目,也存在問題。你的系統上有jackson,它是什麼版本?非常感謝! – elmor

+0

更重要的是,在Google搜索之後,它看起來像JSON期望的是壓縮的數據,傑克遜無法解壓它所期望的gzip。 http://stackoverflow.com/questions/8091524/how-to-parse-an-application-json-object-into-a-string我真的不明白爲什麼這會發生在我身上,而不是你,所以我只需重新安裝一切。 – elmor

+0

過去還有其他的場合,我有升級問題,並最終從頭開始我的安裝。很高興你已經啓動並再次運行 – semisided1

0

卸載和重新安裝插件GPE,同一版本,暫時解決了問題,但一段時間後返回。這顯然是一個錯誤。

+0

從零開始重新安裝了開普勒,保持最小的狀態,並且一切都很好。我必須以某種方式剔除我的日食。 Ias能夠登錄和部署。 – elmor