Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>There are two things I noticed. </p> <p>1) The smartgw dependency you specified cannot be resolved from the maven central repository </p> <pre><code>&lt;dependency&gt; &lt;groupId&gt;com.smartgwt&lt;/groupId&gt; &lt;artifactId&gt;smart-gwt&lt;/artifactId&gt; &lt;version&gt;2.5&lt;/version&gt; &lt;/dependency&gt; </code></pre> <p>It only has the 2.4 version of smartgw (see here <a href="http://search.maven.org/#search%7Cga%7C1%7Csmartgwt" rel="nofollow">http://search.maven.org/#search%7Cga%7C1%7Csmartgwt</a>) Instead I had to use this</p> <pre><code>&lt;dependency&gt; &lt;groupId&gt;com.smartgwt&lt;/groupId&gt; &lt;artifactId&gt;smartgwt&lt;/artifactId&gt; &lt;version&gt;2.4&lt;/version&gt; &lt;/dependency&gt; </code></pre> <p>notice that the artifact ID is different too. (If you have a custom repository containing this then please update your question)</p> <p>2) You dont need to do eclipse:eclipse instead you can issue the </p> <p>File > Import > Existing Maven projects</p> <p>this will auto generate the eclipse project from your pom.xml</p> <p><strong>UPDATE</strong></p> <p>I tested with the following :</p> <p>Parent pom in gwttest2 folder</p> <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt; &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt; &lt;groupId&gt;com.test&lt;/groupId&gt; &lt;artifactId&gt;gwttest2-main&lt;/artifactId&gt; &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt; &lt;packaging&gt;pom&lt;/packaging&gt; &lt;modules&gt; &lt;module&gt;gwttest2-module1&lt;/module&gt; &lt;/modules&gt; &lt;build&gt; &lt;extensions&gt; &lt;extension&gt; &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt; &lt;artifactId&gt;wagon-ftp&lt;/artifactId&gt; &lt;/extension&gt; &lt;/extensions&gt; &lt;/build&gt; &lt;dependencies&gt; &lt;dependency&gt; &lt;groupId&gt;com.google.gwt&lt;/groupId&gt; &lt;artifactId&gt;gwt-user&lt;/artifactId&gt; &lt;version&gt;2.4.0&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;com.google.gwt&lt;/groupId&gt; &lt;artifactId&gt;gwt-servlet&lt;/artifactId&gt; &lt;version&gt;2.4.0&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;com.smartgwt&lt;/groupId&gt; &lt;artifactId&gt;smartgwt&lt;/artifactId&gt; &lt;version&gt;2.4&lt;/version&gt; &lt;/dependency&gt; &lt;/dependencies&gt; &lt;/project&gt; </code></pre> <p>child pom in gwttest2/gwttest2-module1 folder</p> <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt; &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt; &lt;groupId&gt;com.test&lt;/groupId&gt; &lt;artifactId&gt;gwttest2-module1&lt;/artifactId&gt; &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt; &lt;packaging&gt;war&lt;/packaging&gt; &lt;parent&gt; &lt;artifactId&gt;gwttest2-main&lt;/artifactId&gt; &lt;groupId&gt;com.test&lt;/groupId&gt; &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt; &lt;/parent&gt; &lt;build&gt; &lt;extensions&gt; &lt;extension&gt; &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt; &lt;artifactId&gt;wagon-ftp&lt;/artifactId&gt; &lt;/extension&gt; &lt;/extensions&gt; &lt;/build&gt; &lt;dependencies&gt; &lt;dependency&gt; &lt;groupId&gt;com.google.gwt&lt;/groupId&gt; &lt;artifactId&gt;gwt-user&lt;/artifactId&gt; &lt;version&gt;2.4.0&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;com.google.gwt&lt;/groupId&gt; &lt;artifactId&gt;gwt-servlet&lt;/artifactId&gt; &lt;version&gt;2.4.0&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;com.smartgwt&lt;/groupId&gt; &lt;artifactId&gt;smartgwt&lt;/artifactId&gt; &lt;version&gt;2.4&lt;/version&gt; &lt;/dependency&gt; &lt;/dependencies&gt; &lt;/project&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload