gwt-eclipse-plugin: Eclipse Oxygen.1 Plugin Error due wrong interface

Eclipse has change an interface.

I have updated from old GWT Plugin to new one but error still occurs

They have added a additional boolean: https://github.com/eclipse/eclipse.jdt.core/blob/master/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProject.java

Change comes with: https://github.com/eclipse/eclipse.jdt.core/commit/54049bd43ee6ccfbd3f1b67192d2ed3baee764e3#diff-c1da82ed737689b0aeddf1126c08e061


java.lang.NoSuchMethodError: org.eclipse.jdt.internal.core.JavaProject.computePackageFragmentRoots([Lorg/eclipse/jdt/core/IClasspathEntry;ZLjava/util/Map;)[Lorg/eclipse/jdt/core/IPackageFragmentRoot;
	at com.google.gdt.eclipse.core.ClasspathUtilities.findRawClasspathEntryFor(ClasspathUtilities.java:163)
	at com.google.gwt.eclipse.core.runtime.GwtSdk$ProjectBoundSdk.findGwtDevClasspathEntry(GwtSdk.java:361)
	at com.google.gwt.eclipse.core.runtime.GwtSdk$ProjectBoundSdk.computeInstallPath(GwtSdk.java:266)
	at com.google.gwt.eclipse.core.runtime.GwtSdk$ProjectBoundSdk.getInstallationPath(GwtSdk.java:189)
	at com.google.gwt.eclipse.core.runtime.GwtSdk.findSdkFor(GwtSdk.java:411)
	at com.google.gwt.eclipse.core.launch.processors.DGwtDevJarArgumentProcessor.maybeGetDevJarPath(DGwtDevJarArgumentProcessor.java:76)
	at com.google.gwt.eclipse.core.launch.processors.DGwtDevJarArgumentProcessor.update(DGwtDevJarArgumentProcessor.java:123)
	at com.google.gdt.eclipse.suite.launch.processors.LaunchConfigurationUpdater.update(LaunchConfigurationUpdater.java:141)
	at com.google.gdt.eclipse.suite.launch.processors.LaunchConfigAffectingChangesListener.syncUpdate(LaunchConfigAffectingChangesListener.java:93)
	at com.google.gdt.eclipse.suite.launch.processors.LaunchConfigAffectingChangesListener.access$2(LaunchConfigAffectingChangesListener.java:89)
	at com.google.gdt.eclipse.suite.launch.processors.LaunchConfigAffectingChangesListener$1.runInWorkspace(LaunchConfigAffectingChangesListener.java:78)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)```

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 1
  • Comments: 32 (17 by maintainers)

Most upvoted comments

Fix getting pushed to staging.

I can confirm, clean Oxygen 4.7.2 with initially empty workspace/configuration + gwt 2.8.2 + stable GWT Eclipse Plugin 3.0.0.201710131939 + imported gwt projects work without problems.

It seems that error Errors running builder ‘GWT Project Validator’ in Chancafek comment https://github.com/gwt-plugins/gwt-eclipse-plugin/issues/365#issuecomment-347854308 is actually in google GWT Eclipse Plugin code (com.google.gwt.eclipse…). I had this problem too, when installing gwt-eclipse-plugin, it seems google GWT Eclipse Plugin is removed from eclipse, but it builders still work in gwt projects…