Spring download and installation, Spring download and Installation

Source: Internet
Author: User

Spring download and installation, Spring download and Installation

After the revision of the Spring official website, the download link for the complete zip package for many projects has been hidden. Although Spring aims to guide everyone to manage their dependent jar packages in the maven mode of higher levels, however, I did not expect China's national conditions. In the Great Wall, I downloaded the ghost stuff directly through maven, either quickly or directly being harmonious.

The following is a list of online search sets, which can be used to download springs' objective dist.zip files.

First

Direct

Http://repo.springsource.org/libs-release-local/org/springframework/spring/3.2.8.RELEASE/spring-framework-3.2.8.RELEASE-dist.zip

Http://repo.spring.io/libs-release-local/org/springframework/security/spring-security/3.2.3.RELEASE/spring-security-3.2.3.RELEASE-dist.zip
Directly stick it to the address bar or download tool. You only need to change the version number for each update;

Second
Http://repo.springsource.org/libs-release-local/
Stick this to the address bar and you will see a tree directory, and then click Level 1 down;

Third
Find the spring framework in projects on the official website, click the "kitten" icon on the left, jump to github, and find the hyperchain of building a distribution with dependencies under Downloading artifacts, find the SpringSource repository hyperchain, open the Spring repository FAQ, find libs-release-local, and click the Artifacts tab, then, in the list on the left, the simple brower is displayed, and the subsequent process is the same as that in step 2. (However, Github is not stable in the wall, you know ...)


Fourth

Http://repo.spring.io/webapp/search/artifact? 0 & q = spring-framework or

Http://repo.spring.io/webapp/search/artifact? 0 & q = spring-security

Change the keyword after q to the name of the Spring subitem.

 

 

 

To download and install Spring, follow these steps. (1) log on to the website and download the latest stable Spring version. The latest version is spring-framework-4.0. We recommend that you download it. Spring-framework-spring-framework-4.0.0.M2-distThis package not only contains the Spring development kit, but also contains the third-party class libraries on which Spring is compiled and run. Decompress the downloaded package and apply the following folders to the decompressed Folder. Dist: The jar package of Spring is put under this folder. Generally, you only need the Spring. jar file. There are some spring-Xxx.jar-like compressed packages under the folder, these packages are the sub-module compressed package of spring. jar package. This modular package is considered unless you determine that the entire J2EE application only needs to use one aspect of Spring. Spring. jar is usually recommended. Docs: This folder contains spring documentation, Development Guide, and API reference documents. Lib: This folder contains the third-party class libraries on which spring is compiled and run. The class libraries under this path are not required by spring. However, if you need to use third-party class libraries, the class library here is required. Samples: This folder contains several simple examples of Spring, which can be used as an example for Spring beginners. Src: This folder contains all the source files of Spring. If there is something uncertain in the development process, you can refer to this source file to learn about the underlying implementation.

Test: This folder contains Spring test examples.

 

Tiger: This path stores the decompressed JDK-related content. It also contains some Spring License and project-related files (2. jar is copied to the CLASSPATH path of the project. For Web applications. jar file to the WEB-INF/lib path, the application can use the Spring framework. (3) usually the Spring framework also depends on some other jar files, so you must copy the corresponding package under lib to the WEB-INF/lib path, the specific jar files to be copied, depends on the project used by the application. You usually need to copy the jar files in the cglib, dom4j, jakarta-commons, log4j, and other folders. (4) To compile the java file, you can find the Spring basic class and add the path of the Spring. jar file to the environment variable CLASSPATH. You can also use the ANT tool without adding environment variables. If you are using an IDE such as Eclipse or NetBeans, you do not need to set environment variables. Spring MVCThe view presentation layer of the traditional web architecture uses struts as the presentation layer. However, if you try spring's built-in MVC, you will find that spring can replace struts in general. From some perspectives, spring's mvc design is more reasonable. If you are interested, try to place an order for spring MVC.

 

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.