GWT Maven dependency - missing SDK

1,166 views
Skip to first unread message

Aldo Neto

unread,
Jul 24, 2012, 8:50:18 AM7/24/12
to google-web-toolkit
Hi,

I'm using GWT 2.3 and my project uses Maven. I'm trying to build an environment from scratch but I'm getting a strange error. I have gwt-user configure in maven but it downloads a file named gwt-user-2.3.0.jar and when I try to point my eclipse to it I have the following error:

"gwt-user.jar is missing"

I'm probably doing something wrong here, but I'm not able to compile my code. Do I have to download the SDK even with Maven configured? I'm asking that because I'd expect to have all configured directly under Maven.

Thanks,
Aldo

Thomas Broyer

unread,
Jul 24, 2012, 10:23:09 AM7/24/12
to google-we...@googlegroups.com, google-web-toolkit
How do you "point [your] eclipse to it"?
Are you using "Import Existing Maven Project" from M2Eclipse?

Aldo Neto

unread,
Jul 24, 2012, 10:28:12 AM7/24/12
to google-we...@googlegroups.com
Yes...and after that I get all packages downloaded and everything seems just fine, except for this error that says that no SDK is configured. The actual message is:

Unbound classpath container: 'GWT SDK [missing]' in project 'HelpAssist' Build path Build Path Problem

Then I try to configure the SDK in the preferences but when I point to the gwt-user directory I get the message saying that no "gwt-user.jar" was found.

It all seems very strange to me

Tks for your help


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/QCTYu7d6o24J.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Thomas Broyer

unread,
Jul 24, 2012, 10:45:40 AM7/24/12
to google-we...@googlegroups.com


On Tuesday, July 24, 2012 4:28:12 PM UTC+2, Aldo wrote:
Yes...and after that I get all packages downloaded and everything seems just fine, except for this error that says that no SDK is configured. The actual message is:

Unbound classpath container: 'GWT SDK [missing]' in project 'HelpAssist' Build path Build Path Problem

That shouldn't happen, unless you use "mvn eclipse:eclipse" or similar (or the archetype from gwt-maven-plugin).
Delete the .eclipse, .classpath and possibly .settings and .factorypath files and then do the "Import Existing Maven Project" again.

Or you could try simply removing "GWT SDK" from the Build Path (right click on the project → Build Path → Configure Build Path…), but I'd rather go with a “wipe out Eclipse-related files and re-import” approach.

Aldo Neto

unread,
Jul 24, 2012, 11:52:37 AM7/24/12
to google-we...@googlegroups.com
I deleted the things you suggested and it worked now!!

Thanks a lot


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
Reply all
Reply to author
Forward
0 new messages