I can confirm that this problem occurs to me too. Michael
Am Sonntag, 16. November 2014 21:56:20 UTC+1 schrieb Nicolas Morel: > > Hi, > > I'm currently testing GWT 2.7.0-rc1 and one of my project using GWTP > Rest-Dispatch <https://github.com/ArcBees/GWTP/wiki/Rest-Dispatch> is not > working under SDM. > The compilation fails with this error : > > [ERROR] Unable to load gin module type > [com.gwtplatform.dispatch.rest.client.RestGinModule], maybe you haven't > compiled your client java sources? > java.lang.ClassNotFoundException: > com$gwtplatform$dispatch$rest$client$RestGinModule > at > com.google.gwt.inject.rebind.GinBridgeClassLoader.findClass(GinBridgeClassLoader.java:150) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at > com.google.gwt.inject.rebind.GinBridgeClassLoader.loadClass(GinBridgeClassLoader.java:108) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:340) > at > com.google.gwt.inject.rebind.GinjectorGenerator.loadClass(GinjectorGenerator.java:223) > at > com.google.gwt.inject.rebind.GinjectorGenerator.getPropertyModuleClasses(GinjectorGenerator.java:137) > at > com.google.gwt.inject.rebind.GinjectorGenerator.getModuleClasses(GinjectorGenerator.java:116) > at > com.google.gwt.inject.rebind.GinjectorGenerator.generate(GinjectorGenerator.java:72) > at > com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40) > > The full stack trace is available in attachment. > > The problem has been reported to the GWTP team here > <https://github.com/ArcBees/GWTP/issues/614>. The "normal" compilation > works but not the incremental compile from SDM. > > I made a simple example available here > <https://github.com/nmorel/hello-gwt-rest-dispatch>. > > From what I saw, the RestGinModule that gin is trying to load is generated > by a GWT generator (VelocityGenerator > <https://github.com/ArcBees/GWTP/blob/master/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/rebind/VelocityGenerator.java> > .generateRestGinModule()) and passed to gin through the property > "gin.ginjector.modules". > It seems unconventional but was working before. > Any ideas what is going on please ? > > > > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/76a1f152-f848-4802-b3f0-4da086789cfe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
