Open GoogleCodeExporter opened 9 years ago
Getting the following error:
16:12:52.062 [ERROR] [myModule] Errors in
'jar:file:/D:/MyProject/lib/gwt-incubator-20100204-r1747.jar!/com/google/gwt/gen
2/widgetbase/client/Gen2Widget.java'
16:12:52.062 [ERROR] [myModule] Errors in
'jar:file:/D:/MyProject/lib/gwt-incubator-20100204-r1747.jar!/com/google/gwt/gen
2/widgetbase/client/Gen2Widget.java'
Original comment by nirmaljp...@gmail.com
on 27 Jul 2010 at 10:44
This is with GWT-2.1.0 M2. Widget now defines "getHandlerManager" (returning
com.google.gwt.event.shared.HandlerManager), and Gen2Widget overrides this
method with a different return type
(com.google.gwt.gen2.event.shared.HandlerManager)
Original comment by britt...@gmail.com
on 17 Aug 2010 at 3:47
I get this with version 2.0.1 as well.
http://mirrors.ibiblio.org/pub/mirrors/maven2/com/google/gwt/gwt-incubator/
http://mvnrepository.com/artifact/com.google.gwt/gwt-incubator/2.0.1
http://code.google.com/p/google-web-toolkit-incubator/source/browse/#svn/tags/2.
0.1
http://www.jarvana.com/jarvana/inspect-pom/com/google/gwt/gwt-incubator/2.0.1/gw
t-incubator-2.0.1.pom
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-incubator</artifactId>
<version>2.0.1</version>
</dependency>
Original comment by datasurfer
on 9 Sep 2010 at 7:29
I received this error as well with the first release candidate of GWT 2.1.
This is an important issue, since I do not want to skip on new features of 2.1
when using the incubator (and rewriting my stuff with new Data binding support
in 2.1 is risky and will take some time)
Original comment by thomaszw...@gmail.com
on 13 Oct 2010 at 7:24
To workaround this issue you need to patch
com.google.gwt.gen2.event.shared.HandlerManager to be extended from
com.google.gwt.event.shared.HandlerManager. Just create package
com.google.gwt.gen2.event.shared in your project, put attached
HandlerManager.java there and that's it. It works for our project (no
compilation error appears).
Original comment by klims...@gmail.com
on 13 Oct 2010 at 8:17
Attachments:
Thanks - works great!
Original comment by thomaszw...@gmail.com
on 2 Nov 2010 at 1:59
Works fine for me in GWT 2.1.0 - thanks for the fix and special thanks for the
clear instructions.
Original comment by richardl...@gmail.com
on 5 Nov 2010 at 9:00
The the above fix works, but it would be nicer if this can be made in the
incubator rather than adding this file to individual projects that uses
incubator.
Original comment by iale...@gmail.com
on 10 Nov 2010 at 2:13
Works great for me in GWT 2.1.1 as well. Thanks.
Original comment by ckle...@gmail.com
on 3 Jan 2011 at 6:54
I had the same error but it was because i had 2 versions of GWT incubator, as
soon as i removed the older version the error went away.
Original comment by bhagwat....@gmail.com
on 2 Feb 2011 at 7:44
Original issue reported on code.google.com by
imhtt...@gmail.com
on 17 Feb 2010 at 7:53