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:
- docs document directory
- Libs directory under various jar package:
- 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
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
-
copy the following into the project in the lib directory:
-
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.
-
In addition to the amount of the above four packages, but also two packages
- Now is not found, said after