Trying to use KineticGWT with Maven but got error below. Any help is appreciated. My Application.gwt.xml is aslo attached below.
Application.gwt.xml:
<!DOCTYPE module PUBLIC "//gwt-module/" "http://google-web-toolkit.googlecode.com/svn/tags/1.6.2/distro-source/core/src/gwt-module.dtd">
<module>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.google.gwt.user.theme.standard.Standard'/>
<inherits name="net.edzard.kinetic"/>
<entry-point class='org.gaoshin.openflier.client.Application'/>
<stylesheet src='Application.css' />
</module>
Maven command error:
$ mvn install
[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/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
In the pom.xml file, I have included the gwt-user dependency. My gwt version is 1.7.1
Thanks Thomas for the gwt version suggestion. I also got some help from the developer of Kineticgwt. It turns out that I need to upgrade two things. One for gwt and the other for gwt maven plugin.
The plugin version:
gwt version: