Results 1 to 2 of 2

Thread: Newbie Question on Spring and the Training Class Examples

  1. #1
    Join Date
    Aug 2009
    Posts
    4

    Default 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. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,624

    Default

    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.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

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
  •