Coder Social home page Coder Social logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
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

from google-gin.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
Thank you for responding!  Please close this issue.

Thanks,

Original comment by [email protected] on 18 Nov 2013 at 6:30

from google-gin.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024

Original comment by aragos on 18 Nov 2013 at 6:06

  • Changed state: Duplicate

from google-gin.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
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 [email protected] on 24 Nov 2013 at 12:05

from google-gin.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
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

from google-gin.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
Was solved in gwteventbinder 1.0.1.

Original comment by [email protected] on 28 Nov 2013 at 8:21

from google-gin.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
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 [email protected] on 16 Jan 2014 at 10:01

from google-gin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.