Comments (7)
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.
Thank you for responding! Please close this issue.
Thanks,
Original comment by [email protected]
on 18 Nov 2013 at 6:30
from google-gin.
Original comment by aragos
on 18 Nov 2013 at 6:06
- Changed state: Duplicate
from google-gin.
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.
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.
Was solved in gwteventbinder 1.0.1.
Original comment by [email protected]
on 28 Nov 2013 at 8:21
from google-gin.
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)
- Warning for missing annotation source code HOT 3
- Inject order should be constructors then fields then method HOT 7
- Unexpected error while using a private inner module: "Unable to inject an instance of XXX because it is a private class."
- GinFactoryModuleBuilder does not respect @Singleton HOT 3
- [Patch] Use own ClassLoader over SystemClassLoader to make Hosted Mode working HOT 3
- Views/widgets as singletons are present in memory and keep playing even after changing the view.
- Should have GIN error rather than gwt compiler error in package-private+generics corner case HOT 1
- Gin 2.1 not published in maven central HOT 2
- Gin 2.1 and Java6 results in: Unsupported major.minor version 51.0 Error HOT 6
- Allow double bound for identical definition HOT 2
- Publish GIN 2.1.1 to Maven Repository HOT 1
- Javadoc link broken in project home page HOT 1
- Using GinMapBinder with annotations produces Double-Bound exception HOT 1
- Gin trunk is incompatible to GWT trunk because of recent Guava 15 refactoring in GWT HOT 5
- java.lang.NoClassDefFoundError: sun/security/timestamp/Timestamper HOT 1
- GinModuleAdapter sometimes gives errors with singleton binding of concrete classes HOT 1
- GIN does not respect injection order when subclassing HOT 1
- Reduce code bloat for multiple instances of the same PrivateGinModule
- Move to Github HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-gin.