Compiling an application with current master

1,183 views
Skip to first unread message

Johannes Barop

unread,
Aug 18, 2014, 9:31:35 AM8/18/14
to google-web-tool...@googlegroups.com
Hi,

I was trying out the latest changes in the master branch. Is there something special I have take into account when using the gwt-maven-plugin?

When doing a gwt:compile I get this error.

[INFO] Loading inherited module 'GwtPlayground'
[INFO]    Loading inherited module 'com.google.gwt.user.User'
[INFO]       Loading inherited module 'com.google.gwt.media.Media'
[INFO]          Loading inherited module 'com.google.gwt.user.UI'
[INFO]             Loading inherited module 'com.google.gwt.uibinder.UiBinder'
[INFO]                [ERROR] Line 20: Unexpected element 'resource'
[INFO]                [ERROR] Failure while parsing XML

It works with (S)DM. Any suggestions?


Cheers,
Johannes

Thomas Broyer

unread,
Aug 18, 2014, 10:12:24 AM8/18/14
to google-web-tool...@googlegroups.com
The error would mean you still have an older gwt-dev in the classpath. Could it be that you forgot to override the GWT dependencies of the gwt-maven-plugin itself? http://mojo.codehaus.org/gwt-maven-plugin/user-guide/using-different-gwt-sdk-version.html
or maybe a dependency that transitively depends on gwt-dev?

Johannes Barop

unread,
Aug 18, 2014, 10:32:37 AM8/18/14
to google-web-tool...@googlegroups.com
Thanks. That solved the issue!
Reply all
Reply to author
Forward
0 new messages