gwt-plugins / gwt-plugins/gwt-eclipse-plugin
GWT 2.8 - Super Dev Mode throws NoClassDefFoundError
- Lenguaje dominante
- Java
- Estrellas
- 117
- Forks
- 49
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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...

Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start by reproducing Super Dev Mode with the versions and Maven dependencies shown in the issue, then inspect how the Eclipse plugin builds the runtime classpath for gwt-dev.jar. Trace the missing cern.colt.map.OpenIntObjectHashMap dependency from the provided stack trace; done means Super Dev Mode starts without this NoClassDefFoundError.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- tooling
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100