GWT_CONTAINER will not be exported or published

1,111 views
Skip to first unread message

Geoffrey Wiseman

unread,
Apr 25, 2012, 11:27:30 AM4/25/12
to google-we...@googlegroups.com
When I use M2E and GWT together in Eclipse these days, I get this warning:
Classpath entry com.google.gwt.eclipse.core.GWT_CONTAINER will not be exported or published. Runtime ClassNotFoundExceptions may result.

It's not a big deal, but I'd rather get rid of it -- any suggestions?

  - Geoffrey

Thomas Broyer

unread,
Apr 25, 2012, 12:17:30 PM4/25/12
to google-we...@googlegroups.com
When using M2E, the Google Plugin for Eclipse should automatically pick the GWT SDK from the Maven dependencies, and as a result there shouldn't be a GWT_CONTAINER entry in the build path.

So, in your case, I'd try removing the GWT_CONTAINER entry from the build path, and/or possibly use Maven → Update Project Configuration…

Geoffrey Wiseman

unread,
Apr 25, 2012, 1:16:59 PM4/25/12
to google-we...@googlegroups.com
On Wednesday, 25 April, 2012 at 12:17 PM, Thomas Broyer wrote:
When using M2E, the Google Plugin for Eclipse should automatically pick the GWT SDK from the Maven dependencies, and as a result there shouldn't be a GWT_CONTAINER entry in the build path.

So, in your case, I'd try removing the GWT_CONTAINER entry from the build path, and/or possibly use Maven → Update Project Configuration…
I'd done the latter, but I hadn't considered the idea of removing the container, so I hadn't tried that manually. Worked like a charm, and makes sense to boot. Thanks.

  - Geoffrey
-- 
Geoffrey Wiseman
http://www.geoffreywiseman.ca/

Reply all
Reply to author
Forward
0 new messages