gwt-plugins / gwt-plugins/gwt-eclipse-plugin
GWT 2.8 - Super Dev Mode throws NoClassDefFoundError
- Langage dominant
- Java
- Étoiles
- 116
- Forks
- 49
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I have a GWT 2.8.2 project and downloaded the current plugin's snapshot from https://storage.googleapis.com/gwt-eclipse-plugin/v3/snapshot.
My versions:
- GWT 2.8.2 SDK - 2.8.0.201803211650
- GWT Eclipse Plugin - 3.0.0.201803211650
My project refers to these dependencies in its POM:
```xml
com.google.gwt
gwt-user
2.8.2
provided
com.google.web.bindery
requestfactory-server
2.8.2
```
Now, when I try to run Super Dev mode for this project, I get an error:
```
Exception in thread "main" java.lang.NoClassDefFoundError: cern/colt/map/OpenIntObjectHashMap
at com.google.gwt.dev.util.collect.IntMultimap.(IntMultimap.java:28)
at com.google.gwt.dev.StringAnalyzableTypeEnvironment.(StringAnalyzableTypeEnvironment.java:68)
at com.google.gwt.dev.MinimalRebuildCache.(MinimalRebuildCache.java:192)
at com.google.gwt.dev.CompilerContext$Builder.(CompilerContext.java:37)
at com.google.gwt.dev.DevModeBase.(DevModeBase.java:636)
at com.google.gwt.dev.DevMode.(DevMode.java:463)
at com.google.gwt.dev.DevMode.main(DevMode.java:430)
Caused by: java.lang.ClassNotFoundException: cern.colt.map.OpenIntObjectHashMap
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 7 more
```
It looks like the eclipse plugin correctly adds gwt-dev.jar to the classpath, but not any of its required dependencies...

Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par reproduire Super Dev Mode avec les versions et dépendances Maven indiquées dans l’issue, puis examinez comment le Eclipse plugin construit le classpath d’exécution pour gwt-dev.jar. Suivez la dépendance manquante cern.colt.map.OpenIntObjectHashMap à partir de la stack trace fournie ; le travail est terminé lorsque Super Dev Mode démarre sans cette NoClassDefFoundError.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100