Dec 16th, 2009, 10:45 AM
Newbie Question on Spring and the Training Class Examples
I attended the core spring class a few months ago. I am finally able to dedicate some time into gain proficiency in Java and Spring.
My question: How do you get the examples to work in the IDE. They keep complaining about the POM file and not able to connect to the spring training site to see the maven repository.
The error that seems to be the center point of the problem is:
Cannot find artifact for parent POM: com.springsource.training.common:common-parent::1.0.1.RELEASE for project com.springsource.training.module:spring-intro-1-solution:jar:2.0.0.RELEASE at C:\Documents and Settings\jsg589\workspace-sts-2.2.1.RELEASE\spring-intro-1-solution\pom.xml
Any help is greatly appreciated.
Dec 17th, 2009, 01:31 AM
My guess you simply imported the projects into an existing eclipse/sts instead of using the provided STS.
Goto your settings -> Maven -> check offline and uncheck update indexes at startup.
Also make sure you copy the supplied maven repository or at least the needed dependencies to your local maven repository. The repository is shipped/found in the training distribution.
Tags for this Thread