Note that there are some explanatory texts on larger screens.

plurals
  1. POMaven Errors in STS while working on Demo Spring Roo Project
    primarykey
    data
    text
    <p>I was trying to work on the Spring Roo Demo project @ www.springsource.org/roo/guide?w=beginning and I am using Spring Roo Shell in the STS IDE. </p> <p>However, as I go through the various steps of demo project, I see that the pom.xml is created / updated by Roo. However, the dependencies are NOT getting downloaded.</p> <p>I am not a maven expert, however, I tried the below steps to resolve the issues.</p> <ol> <li><p>Made sure Maven is NOT working in offline mode - my looking into preferences -> maven -> offline mode not checked. I was also kind of sure about this because, maven was downloading other jars from repositories</p></li> <li><p>I tried manually downloading the junit-4.8.2.jar and log4j-1.2.16.jar from the Maven Central repository to my local and tried manually installing the files using the commands</p> <pre><code>mvn install:install-file -DgroupId=junit -DartifactId=junit -Dversion=4.8.2 -Dpackaging=jar -Dfile=C:/Users/Satya/Downloads/junit-4.8.2.jar mvn install:install-file -DgroupId=log4j -DartifactId=log4j -Dversion=1.2.16 -Dpackaging=jar -Dfile=C:/Users/Satya/Downloads/log4j-1.2.16.jar </code></pre></li> </ol> <p>Maven told me the installation was successful on my windows command prompt, however, I did not see anything getting reflected in my STS IDE. </p> <p>I tried, using the m2eclipse menu and "updating dependencies", "clean" etc.. to no use.</p> <p><a href="http://i.stack.imgur.com/FjX1S.png" rel="nofollow">Maven Build Errors in STS IDE</a></p> <p><a href="http://i.stack.imgur.com/mh3aw.png" rel="nofollow">Compilation Errors that I am getting in STS because of the Maven Build Errors</a></p> <p>I am not sure what else I should be doing to resolve this and continue with the Spring Roo work. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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