In recent days to learn Spring framework, in the environmental construction process encountered a lot of problems, online find a lot of information is not particularly good, so I re-record it.
Get ready:
1.Eclipse download, into the official website, here directly to the link https://www.eclipse.org/downloads/eclipse-packages/there are many versions here, we choose Java EE Developer version.
2. Spring IDE Download (also called spring Tool Suite abbreviation STS), go to the official website, direct to the link Http://spring.io/tools/sts/all
A lot of information on the web said there are two options, it is recommended to choose one directly, program two online update turtle speed, the program one of the file download down.
3. Spring framework Download, the framework has changed greatly after the update, many of the online programs are not desirable. http://projects.spring.io/spring-framework/Net
The current stable version is 4.3.4, the need to download the framework in the documentation described in the introduction, click to slowly look
Follow the links in the link to pull down below
Link also to a direct into the http://repo.spring.io/release/org/springframework/spring/
Don't be silly when you go in. Do not know what to do, look at the above diagram of the instructions, download .... Release-dist.zip file
As shown
Okay, so here's the main three parts that need to be downloaded, as shown below
Unzip separately, then we start to configure the environment
Open Eclipse.exe from the extracted eclipse file, after startup
Help->intall New software->add->local Import springsource-tool-suite decompression path will automatically find the relevant IDE as shown in
Always next, I accept wait for configuration. After the configuration is complete, it restarts.
The final step is to configure the framework,
Start by creating a new Java project, then a new folder named Lib, and then copy the beans context core Expresion.jar from the Libs file under the Spring-framework file to the newly created text, as shown in.
Can see in fact also need a commens-logging file, the previous diagram has the importance of this log (arrow point), this needs to be downloaded separately, directly to the link http://download.csdn.net/detail/judy1990/4252960
Right-click to create a path after copying five jar files from the Lib file.
At this point all configurations have been completed
Eclipse Configuration spring4.0 Environment Detailed tutorial