Results 1 to 4 of 4

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

  1. #1

    Unhappy 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. #2
    Join Date
    Mar 2012
    Location
    Gurgaon, India
    Posts
    49

    Default

    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.

  3. #3
    Join Date
    Feb 2013
    Posts
    1

    Default

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

  4. #4
    Join Date
    Jan 2013
    Posts
    11

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
  •