Announcement Announcement Module
Collapse
No announcement yet.
Where can I find spring.jar and other jar files in Spring Framework 3.1.1? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Where can I find spring.jar and other jar files in Spring Framework 3.1.1?

    I'm very new to spring framework and I am following the steps in this tutorial http://static.springsource.org/docs/...tep/part1.html. When I got to step 1.7, I can't find the jar files mentioned in the instructions. The article mentioned that the author was using Spring Framework 2.5. I have Spring Framework 3.1.1. Should the instructions be updated for the newer version of spring framework? Or should I look for those files in a different location?

    ---

    1.7. Copy libraries to 'WEB-INF/lib'

    First create a 'lib' directory in the 'war/WEB-INF' directory. Then, from the Spring distribution, copy spring.jar (from spring-framework-2.5/dist) and spring-webmvc.jar (from spring-framework-2.5/dist/modules) to the new 'war/WEB-INF/lib' directory. Also, copy commons-logging.jar (from spring-framework-2.5/lib/jakarta-commons) to the 'war/WEB-INF/lib' directory. These jars will be deployed to the server and they are also used during the build process.

  • #2
    In the current Spring distributions, the JAR is called spring-core-<version>.jar. If you are creating a sample project, it will be better to copy all JARs from the Spring distribution to WEB-INF/lib as there are a number of inter-dependencies. For a real project, consider using Maven or Ivy for managing the dependencies instead of tracking them on your own.

    Comment


    • #3
      Originally posted by miniaturepail View Post
      I can't find the jar files mentioned in the instructions.
      miniaturepail, I am new to Spring too and I've spent an hour of googling for how to find Spring jars. The Get Started page of Spring Source says: get our Tool Kit, it's "everything you need". I thought libs are included there (just as you probably). But no, it's just a kit. What they did not say anywhere, that you also need a framework itself and it's not included in the kit! Link to framework download is very hard to find - it's at the right bottom (I wish it was on the Get Started page, just like the one for STS Kit).

      I hope it helps someone... Thank you.

      Comment


      • #4
        http://www.springsource.org/download/community

        Comment


        • #5
          Here: http://sourceforge.net/projects/spri...amework-2/2.5/

          Comment

          Working...
          X