Results 1 to 3 of 3

Thread: Newly installed STS 2.8.1: where are the org.springframework.* jar files?

  1. #1
    Join Date
    Dec 2011
    Posts
    5

    Default Newly installed STS 2.8.1: where are the org.springframework.* jar files?

    Hi All,

    Apologies up-front for stupid question.

    I've done a fresh install of STS 2.8.1 on my Mac.

    I create one of the Spring Template Projects using the wizard. The automatically created source files and pom.xml have numerous errors ie:

    import org.springframework.stereotype.Component (can't find the org.springframework.* packages).

    So, it appears the springframework classes are not automatically put into the build path for a Spring Template Project. This surprises me since I thought that was all automatically done.

    Is there another installation step required?

  2. #2
    Join Date
    Dec 2011
    Posts
    5

    Default

    Solved!

    Turns out the default location for the maven repository (~/.m2/repository) could not be created by the account I was using on my Mac book. Therefore, I accessed the filesystem as su and created the .m2 folder and chown'd it to be owned by my user account. Then when I fired up STS again, it updated all the Maven dependencies.

  3. #3
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    Thanks for letting us know that you (and how you) solved the problem!

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •