-
Dec 16th, 2009, 10:45 AM
#1
Newbie Question on Spring and the Training Class Examples
Hello,
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:
Description
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
Resource
pom.xml
Path
/spring-intro-1-solution
Location
line 1
Type
Maven Problem
Any help is greatly appreciated.
Thank you,
Dave
-
Dec 17th, 2009, 01:31 AM
#2
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules