Thx. It's fixed after I moved to latest gwt.
On Thu, Nov 15, 2012 at 2:57 PM, Thomas Broyer <t.bro...@gmail.com> wrote: > Are you still using GWT 1.7.1? > > http://stackoverflow.com/questions/13357567/kineticgwt-the-import-com-google-gwt-canvas-cannot-be-resolved > > Also, this group is for discussion around contributions to the GWT > codebase; for support regarding the use of GWT, please use > https://groups.google.com/d/forum/google-web-toolkit > > > On Tuesday, November 13, 2012 7:29:12 AM UTC+1, Kevin wrote: >> >> Hi, >> >> I'm new to GWT and KineticGWT. I just downloaded KineticGWT. When I tried >> to run "mvn install", I got error below. Any idea? >> >> Best regards and thanks a lot. >> >> -Kevin >> >> >> [INFO] Compiling module org.gaoshin.openflier.**Application >> [INFO] Refreshing module from source >> [INFO] Validating newly compiled units >> [INFO] Removing units with errors >> [INFO] [ERROR] Errors in 'jar:file:/Users/kzhang/.m2/** >> repository/net/edzard/**kineticgwt/0.9.2-SNAPSHOT/** >> kineticgwt-0.9.2-SNAPSHOT-**sources.jar!/net/edzard/**kinetic/Image.java' >> [INFO] [ERROR] Line 3: The import com.google.gwt.resources >> cannot be resolved >> [INFO] [ERROR] Line 27: ImageResource cannot be resolved >> to a type >> [INFO] [ERROR] Errors in 'jar:file:/Users/kzhang/.m2/** >> repository/net/edzard/**kineticgwt/0.9.2-SNAPSHOT/** >> kineticgwt-0.9.2-SNAPSHOT-**sources.jar!/net/edzard/** >> kinetic/Canvas.java' >> [INFO] [ERROR] Line 3: The import com.google.gwt.canvas >> cannot be resolved >> [INFO] [ERROR] Line 5: The import >> com.google.gwt.dom.client.**CanvasElement cannot be resolved >> [INFO] [ERROR] Line 15: Context2d cannot be resolved to a >> type >> [INFO] [ERROR] Line 19: CanvasElement cannot be resolved >> to a type >> [INFO] [ERROR] Errors in 'jar:file:/Users/kzhang/.m2/** >> repository/net/edzard/**kineticgwt/0.9.2-SNAPSHOT/** >> kineticgwt-0.9.2-SNAPSHOT-**sources.jar!/net/edzard/** >> kinetic/Sprite.java' >> [INFO] [ERROR] Line 6: The import com.google.gwt.resources >> cannot be resolved >> [INFO] [ERROR] Line 31: ImageResource cannot be resolved >> to a type >> [INFO] [ERROR] Errors in 'jar:file:/Users/kzhang/.m2/** >> repository/net/edzard/**kineticgwt/0.9.2-SNAPSHOT/** >> kineticgwt-0.9.2-SNAPSHOT-**sources.jar!/net/edzard/**kinetic/Layer.java' >> [INFO] [ERROR] Line 3: The import com.google.gwt.canvas >> cannot be resolved >> [INFO] [ERROR] Line 98: Context2d cannot be resolved to a >> type >> >> -- > http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors