GWT maven plugin doesn't find the GWT linker classes

379 views
Skip to first unread message

vsdev

unread,
Oct 24, 2011, 5:01:03 PM10/24/11
to Google Web Toolkit, vsomm...@zanox.com
I'm using GWT 2.4 and I've been trying to write a custom GWT post
order linker as described here:
http://www.google.com/events/io/2010/sessions/gwt-linkers-webworkers-extensions.html

Yet, when doing the GWT compile with the GWT maven plugin the GWT
linker classes could't be found. I get the following errors:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-
plugin:2.3.2:compile (default-compile) on project
zxapp_advertiser_stats_war: Compilation failure: Compilation failure:
[ERROR] \myproject\src\main\java\com\mypackage\linker
\MyPostOrderLinker.java:[5,30] package com.google.gwt.core.ext does
not exist
... more errror with the same meaning

What do I wrong?

Thomas Broyer

unread,
Oct 25, 2011, 6:10:49 AM10/25/11
to google-we...@googlegroups.com, vsomm...@zanox.com
The error comes from the maven-compiler-plugin, not the gwt-maven-plugin. It seems like you didn't add com.google.gwt:gwt-dev as a dependency.
Reply all
Reply to author
Forward
0 new messages