Spring study notes 1- download, create the first project

1. Download the Spring framework

(This step provided that you have configured java environment, and download the good Eclipse.)

  • To download the Spring framework from W3CSchool URL to archive their own version:
    http://repo.spring.io/release/org/springframework/spring
  • In the Windows environment download ZIP pack, download and unzip it to a location you want to store the
    following directory after the pressurized:
    Here Insert Picture Description
    • docs document directory
    • Libs directory under various jar package:
      Here Insert Picture Description
      • Each group is divided into three: jar packages, documents, source code
      • Major infrastructure projects only need to use four core jar package (Core Container):
        • Beans
        • Core
        • Context
        • Game
      • Import support log output jar package
    • scheme as a constraint file directory:

2. Create Project

  • First create a Dynamic Web Project
    named click on it, here I named Spring_01
    project directory as follows: there will be differences in the different versions of the same key
    Here Insert Picture Description

3, introduced jar package

  • Just unzip the file to find the following four jar package lib directory under the directory folder:

    • Beans
    • Core
    • Context
    • Game
      Here Insert Picture Description
  • copy the following into the project in the lib directory:
    Here Insert Picture Description

  • Note the following directory to check whether there has been little sign of the bottle, there was then the import is successful, no-show catalog description error, a closer look is needed in the corresponding directory.
    Here Insert Picture Description

  • In addition to the amount of the above four packages, but also two packages

    • Now is not found, said after

Guess you like

Origin blog.csdn.net/qq_37937830/article/details/92394738