GWT导致Eclipse无法在Windows XP上启动 [英] GWT causes Eclipse to fail to launch on Windows XP
问题描述
!ENTRY org.eclipse.ui 4 4 2012-11-09 11 :33:45.323
!MESSAGE类加载失败:'com.google.gdt.eclipse.login.ui.LoginTrimContribution'
!ENTRY org.eclipse.ui 4 0 2012-11- 09 11:33:45.323
!MESSAGE类加载失败:'com.google.gdt.eclipse.login.ui.LoginTrimContribution'
!STACK 1
org.eclipse.core.runtime。 CoreException:插件com.google.gdt.eclipse.login是
无法实例化类com.google.gdt.eclipse.login.ui.LoginTrimContribution。
导致:java.lang.ExceptionInInitializerError
在com.google.gdt.eclipse.login.ui.LoginTrimContribution。< init>(LoginTrimContribution.java:129)
...
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
... 51更多
导致:java.lang.NullPointerException
com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
com.google.api.client.auth.oauth2.draft10.AccessProtectedResource。< init>(AccessProtectedResource .java:184)
在com.google.api.client.googleapis.auth.oauth2.draft10.GoogleAccessProtectedResource。< init>(GoogleAccessProtectedResource.java:87)
在com.google.gdt。 eclipse.login.GoogleLogin.loadLogin(GoogleLogin.java:628)
at com.google.gdt.eclipse.login.GoogleLogin。< clinit>(GoogleLogin.java:98)
和一系列其他错误消息围绕com.go ogle.gdt.eclipse.login
Google搜索对eclipse.login没有任何影响。该软件包不在.metadata / .plugins目录中,并删除其他Google软件包或.properties没有任何操作。
希望有人遇到此问题,并有一个工作。在这个错误发生之前,系统或eclipse或Java没有任何重大变化,除了我在几周内没有启动。
Eclipse软件插件文件夹中的Eclipse EE Indigo
发现com.google.gdt.eclipse.login包文件的版本号附在文件名末尾,如3.03_v1等。我将其重命名为com.google.gdt.eclipse.login.jar和eclipse推出。
我不知道文件名如何改变,为什么它突然停止工作,但解决了这个问题。
Clicking on eclipse causes the splash screen to show then the application is killed silently with no error message. The .log file has the following information ( summarized)
!ENTRY org.eclipse.ui 4 4 2012-11-09 11:33:45.323
!MESSAGE Class load Failure: 'com.google.gdt.eclipse.login.ui.LoginTrimContribution'
!ENTRY org.eclipse.ui 4 0 2012-11-09 11:33:45.323
!MESSAGE Class load Failure: 'com.google.gdt.eclipse.login.ui.LoginTrimContribution'
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "com.google.gdt.eclipse.login" was
unable to instantiate class "com.google.gdt.eclipse.login.ui.LoginTrimContribution".
Caused by: java.lang.ExceptionInInitializerError
at com.google.gdt.eclipse.login.ui.LoginTrimContribution.<init>(LoginTrimContribution.java:129)
...
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
... 51 more
Caused by: java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
at com.google.api.client.auth.oauth2.draft10.AccessProtectedResource.<init>(AccessProtectedResource.java:184)
at com.google.api.client.googleapis.auth.oauth2.draft10.GoogleAccessProtectedResource.<init>(GoogleAccessProtectedResource.java:87)
at com.google.gdt.eclipse.login.GoogleLogin.loadLogin(GoogleLogin.java:628)
at com.google.gdt.eclipse.login.GoogleLogin.<clinit>(GoogleLogin.java:98)
and a bunch of other error messages revolving around com.google.gdt.eclipse.login
A google searched yielded nothing about eclipse.login. The package is not in the .metadata/.plugins directory and deleting other google packages or .properties did nothing.
Hoping someone encountered this before and has a work around. Nothing major changes to system or eclipse or Java before this error occurred other than I hadn't launched in a few weeks.
Eclipse EE Indigo
in the Eclipse software plugin folder I found that the com.google.gdt.eclipse.login package file had a version number attached to the end of the file name something like 3.03_v1 etc. I renamed this to just com.google.gdt.eclipse.login.jar and eclipse launched.
I am not sure how the file name changed and why it suddenly stopped working but that solved the issue.
这篇关于GWT导致Eclipse无法在Windows XP上启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!