Announcement Announcement Module
Collapse
No announcement yet.
Newbie Question on Spring and the Training Class Examples Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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.

    Comment

    Working...
    X