Closed GoogleCodeExporter closed 9 years ago
This is a known issue (GIN was using internal APIs of GWT that have been
removed), and has been fixed in trunk already (r278)
Original comment by t.broyer
on 18 Nov 2013 at 6:13
Thank you for responding! Please close this issue.
Thanks,
Original comment by hn...@google.com
on 18 Nov 2013 at 6:30
Original comment by aragos
on 18 Nov 2013 at 6:06
I also get this issue when using EventsBinder (with 2.6.0-rc1 and Java 7 on OSX
Mavericks)
[INFO] Caused by: java.lang.NoClassDefFoundError:
com/google/gwt/dev/util/Preconditions
[exec] [INFO] at com.google.web.bindery.event.gwt.rebind.binder.EventBinderGenerator.getTargetType(EventBinderGenerator.java:73)
[exec] [INFO] at com.google.web.bindery.event.gwt.rebind.binder.EventBinderGenerator.generate(EventBinderGenerator.java:55)
[exec] [INFO] at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
[exec] [INFO] at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:676)
[exec] [INFO] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
[exec] [INFO] at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:79)
[exec] [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:276)
[exec] [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:265)
[exec] [INFO] at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
[exec] [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleGwtCreate(UnifyAst.java:387)
[exec] [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:465)
[exec] [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:255)
[exec] [INFO] at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:244)
[exec] [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[exec] [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[exec] [INFO] ... 37 more
[exec] [INFO] Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.util.Preconditions
[exec] [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
[exec] [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[exec] [INFO] at java.security.AccessController.doPrivileged(Native Method)
[exec] [INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[exec] [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
[exec] [INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[exec] [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
[exec] [INFO] ... 52 more
[exec] [INFO] [ERROR] at MGWTPlaceHistoryHandler.java(222): GWT.create(MGWTPlaceHistoryHandler$EventsBinder.class)
[exec] [INFO] com.google.gwt.dev.jjs.ast.JMethodCall
[exec] [INFO] [ERROR] at MGWTPlaceHistoryHandler.java(222): (MGWTPlaceHistoryHandler$EventsBinder) GWT.create(MGWTPlaceHistoryHandler$EventsBinder.class)
[exec] [INFO] com.google.gwt.dev.jjs.ast.JCastOperation
[exec] [INFO] [ERROR] at MGWTPlaceHistoryHandler.java(222): final MGWTPlaceHistoryHandler$EventsBinder eventBinder = (MGWTPlaceHistoryHandler$EventsBinder) GWT.create(MGWTPlaceHistoryHandler$EventsBinder.class)
[exec] [INFO] com.google.gwt.dev.jjs.ast.JDeclarationStatement
[exec] [INFO] [ERROR] at MGWTPlaceHistoryHandler.java(37): {
[exec] [INFO] final MGWTPlaceHistoryHandler$EventsBinder eventBinder = (MGWTPlaceHistoryHandler$EventsBinder) GWT.create(MGWTPlaceHistoryHandler$EventsBinder.class);
[exec] [INFO] }
[exec] [INFO] com.google.gwt.dev.jjs.ast.JBlock
[exec] [INFO] [ERROR] at MGWTPlaceHistoryHandler.java(37): {
[exec] [INFO] final MGWTPlaceHistoryHandler$EventsBinder eventBinder = (MGWTPlaceHistoryHandler$EventsBinder) GWT.create(MGWTPlaceHistoryHandler$EventsBinder.class);
[exec] [INFO] }
[exec] [INFO] com.google.gwt.dev.jjs.ast.JMethodBody
[exec] [INFO] [ERROR] at MGWTPlaceHistoryHandler.java(37): private final void $init();
[exec] [INFO]
[exec] [INFO] com.google.gwt.dev.jjs.ast.JMethod
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] BUILD FAILURE
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Total time: 1:04.267s
[exec] [INFO] Finished at: Sun Nov 24 21:55:03 GMT+10:00 2013
[exec] [INFO] Final Memory: 10M/81M
Original comment by portleta...@gmail.com
on 24 Nov 2013 at 12:05
Please contact the event binder project about this problem:
https://github.com/google/gwteventbinder
Original comment by aragos
on 24 Nov 2013 at 6:14
Was solved in gwteventbinder 1.0.1.
Original comment by gardella...@gmail.com
on 28 Nov 2013 at 8:21
Thanks for the note on EventBinder 1.0.1. I needed to upgrade to both it and
Gin 2.1.2 to get GWT 2.6 to build my project.
It seems like Gin 2.1.2 doesn't like GWT 2.5.1 though (Deferred binding failed
for 'com.google.gwt.user.client.ui.impl.ClippedImageImpl$Template' (did you
forget to inherit a required module?)).
Original comment by Splak...@gmail.com
on 16 Jan 2014 at 10:01
Original issue reported on code.google.com by
hn...@google.com
on 18 Nov 2013 at 2:01Attachments: