Newbie: Cannot get the GWT dependency right

147 views
Skip to first unread message

Jakub Mareda

unread,
Oct 15, 2018, 3:25:40 AM10/15/18
to GWT Users
I am new to GWT and I got an old project that I must get running today (I've been already trying for 2 days).

The project has a problem with GWT maven dependency. This is the error I get when I try to run mvn install:

[ERROR] Failed to execute goal on project WebSightCommon: Could not resolve dependencies for project cz.techsys.web:WebSightCommon:gwt-lib:1.0.0-SNAPSHOT: Failure to find com.isomorphic.smartgwt.lgpl:smartgwt-lgpl:jar:12.0-p20180714 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

The dependency is planted locally in C:\Users\MYNAME\.m2\repository\local-PROJECTNAME\com\isomorphic\smartgwt\lgpl\smartgwt-lgpl\12.0-p20180714.

I don't really know anything about how do maven dependencies work and I'm under time pressure. Could you please give me any advice on fixing this?

Thomas Broyer

unread,
Oct 15, 2018, 3:31:54 AM10/15/18
to GWT Users
Apparently, you need to use their Maven plugin to download and locally install SmartGWT: see http://github.smartclient.com/isc-maven-plugin/
Try to run the "isc:install" goal (on the command-line that would be "mvn isc:install"; your IDE might display it as "com.isomorphic:isc-maven-plugin:install" or similar).
You may want to ask on SmartGWT forums for further help.
Reply all
Reply to author
Forward
0 new messages