Announcement Announcement Module
Collapse
No announcement yet.
Newly installed STS 2.8.1: where are the org.springframework.* jar files? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment


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

      -Martin

      Comment

      Working...
      X