Ошибка при компиляции GWT, проблемы с плагином GWT - PullRequest
0 голосов
/ 03 августа 2020

Я получаю эту ошибку при компиляции GWT. Похоже, проблема в самом плагине. Пытался переустановить плагин несколько раз

   [WARN] Unable to read: jar:file:/C:/folder/sts-bundle/sts-3.9.12.RELEASE/plugins/com.gwtplugins.gwt.eclipse.sdkbundle.gwt27_2.7.0.201710131939/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/UserAgent.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompilationUnit; local class incompatible: stream classdesc serialVersionUID = 5263131532433775474, local class serialVersionUID = 3631357674639647071
   [WARN] Unable to read: jar:file:/C:/folder/sts-bundle/sts-3.9.12.RELEASE/plugins/com.gwtplugins.gwt.eclipse.sdkbundle.gwt27_2.7.0.201710131939/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/DOM.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompilationUnit; local class incompatible: stream classdesc serialVersionUID = 5263131532433775474, local class serialVersionUID = 3631357674639647071
   [WARN] Unable to read: jar:file:/C:/folder/sts-bundle/sts-3.9.12.RELEASE/plugins/com.gwtplugins.gwt.eclipse.sdkbundle.gwt27_2.7.0.201710131939/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/RemoteService.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompilationUnit; local class incompatible: stream classdesc serialVersionUID = 5263131532433775474, local class serialVersionUID = 3631357674639647071
   [WARN] Unable to read: jar:file:/C:/folder/sts-bundle/sts-3.9.12.RELEASE/plugins/com.gwtplugins.gwt.eclipse.sdkbundle.gwt27_2.7.0.201710131939/gwt-2.7.0/gwt-user.jar!/com/google/gwt/logging/LoggingDisabled.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompilationUnit; local class incompatible: stream classdesc serialVersionUID = 5263131532433775474, local class serialVersionUID = 3631357674639647071
   Validating units:
      [ERROR] Errors in 'com/google/gwt/core/translatable/com/google/gwt/core/client/impl/JavaScriptExceptionBase.java'
         [ERROR] Line 30: The constructor RuntimeException(null, null, boolean, boolean) is undefined
      [ERROR] Errors in 'com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/JavaClassHierarchySetupUtil.java'
         [ERROR] Line 67: Referencing class 'JavaClassHierarchySetupUtil': unable to resolve class
         [ERROR] Line 193: Referencing class 'JavaClassHierarchySetupUtil': unable to resolve class
         [ERROR] Line 197: Referencing class 'JavaClassHierarchySetupUtil': unable to resolve class
      [ERROR] Errors in 'com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/ModuleUtils.java'
         [ERROR] Line 36: Referencing class 'ModuleUtils': unable to resolve class
         [ERROR] Line 37: Referencing class 'ModuleUtils': unable to resolve class
         [ERROR] Line 40: Referencing class 'CollapsedPropertyHolder': unable to resolve class
         [ERROR] Line 63: Referencing class 'ModuleUtils': unable to resolve class
         [ERROR] Line 64: Referencing class 'ModuleUtils': unable to resolve class
         [ERROR] Line 84: Referencing class 'ModuleUtils': unable to resolve class
         [ERROR] Line 86: Referencing class 'ModuleUtils': unable to resolve class
      [ERROR] Errors in 'com/google/gwt/emul/java/util/AbstractNavigableMap.java'
         [ERROR] Line 250: The method getEntryKeyOrNull(Map.Entry<K,V>) is undefined for the type AbstractNavigableMap.NavigableKeySet<K,V>
         [ERROR] Line 255: The method getEntryKeyOrNull(Map.Entry<K,V>) is undefined for the type AbstractNavigableMap.NavigableKeySet<K,V>
         [ERROR] Line 295: SimpleImmutableEntry cannot be resolved to a type
         [ERROR] Line 312: The method getEntryKeyOrNull(Map.Entry<K,V>) is undefined for the type AbstractNavigableMap<K,V>
         [ERROR] Line 354: The method getEntryKeyOrNull(Map.Entry<K,V>) is undefined for the type AbstractNavigableMap<K,V>
         [ERROR] Line 361: The method getEntryValueOrNull(Map.Entry<K,V>) is undefined for the type AbstractNavigableMap<K,V>
         [ERROR] Line 376: The method getEntryKeyOrNull(Map.Entry<K,V>) is undefined for the type AbstractNavigableMap<K,V>
         [ERROR] Line 401: The method getEntryKeyOrNull(Map.Entry<K,V>) is undefined for the type AbstractNavigableMap<K,V>
         [ERROR] Line 431: The method containsEntry(Map.Entry<?,?>) of type AbstractNavigableMap<K,V> must override or implement a supertype method
      [ERROR] Errors in 'com/google/gwt/emul/java/util/InternalJsHashCodeMap.java'
         [ERROR] Line 23: The import java.util.AbstractMap.SimpleEntry cannot be resolved
         [ERROR] Line 119: SimpleEntry cannot be resolved to a type
         [ERROR] Line 120: The method elementAdded() is undefined for the type AbstractHashMap<K,V>
         [ERROR] Line 137: The method elementRemoved() is undefined for the type AbstractHashMap<K,V>
      [ERROR] Errors in 'com/google/gwt/emul/java/util/InternalJsStringMap.java'
         [ERROR] Line 69: Referencing class 'InternalJsStringMap': unable to resolve class
         [ERROR] Line 72: Referencing class 'InternalJsStringMap': unable to resolve class
         [ERROR] Line 84: Referencing class 'InternalJsStringMapLegacy': unable to resolve class
         [ERROR] Line 83: Referencing class 'InternalJsStringMap': unable to resolve class
         [ERROR] Line 88: Referencing class 'InternalJsStringMap': unable to resolve class
         [ERROR] Line 89: Referencing class 'ArrayList': unable to resolve class
         [ERROR] Line 92: Referencing class 'ArrayList': unable to resolve class
         [ERROR] Line 173: Referencing class 'InternalJsStringMap': unable to resolve class
         [ERROR] Line 177: Referencing class 'InternalJsStringMap': unable to resolve class
         [ERROR] Line 181: Referencing class 'InternalJsStringMap': unable to resolve class
         [ERROR] Line 185: Referencing class 'InternalJsStringMap': unable to resolve class
         [ERROR] Line 186: Referencing class 'InternalJsStringMap': unable to resolve class
         [ERROR] Line 219: Referencing class 'InternalJsStringMap': unable to resolve class
         [ERROR] Line 154: The method elementAdded() is undefined for the type AbstractHashMap<K,V>
         [ERROR] Line 166: The method elementRemoved() is undefined for the type AbstractHashMap<K,V>
   [ERROR] Aborting compile due to errors in some input files

Я искал на inte rnet, но не нашел много информации об этой конкретной c ошибке.

...