Home > Back-end >  Spring's download
Spring's download

Time:09-17

Spring versions jar package download link:
https://repo.spring.io/webapp/#/artifacts/browse/tree/General/libs-release-local/org/springframework/spring

. The folder to store the dist postfix notation jar package, documents and projects;
This folder. The docs postfix notation for a related document, development guidelines and API.
Stored in the.schema spring4 XSD files,
Note: XSD file XML structure definition (XML schema definition), it describes the structure of an XML document,
Download dist version, it contains the docs after decompression and schema

Commons logging jar download link:
http://commons.apache.org/proper/commons-logging/download_logging.cgi

The Source is the Source code version, you need your compiled into an executable software,
Binaries are executable version, download decompression can use them directly, he has given you a pre-compiled versions,
TGZ and zip compressed format, in fact, the two compressed file contains the content is same, only a compressed format is different, tar, gz format than to the small number of zip file, tar, gz compressed format for Linux operating system, and zip for Windows operating system, but in WinRar tool Windows can also extract tar. Gz format,

Link: https://pan.baidu.com/s/16GETO9nHHEOP-Ekrs6OwnQ
The extracted code: qn4d

If you use the IDEA can be loaded spring framework here

Then create a spring project can


Here is my own test first brother spring

 
Public class cs {
private String username;
Public void setUsername (String username) {
Enclosing the username=username;
}
Public void show () {
System. The out. Println (username + ": welcome to learn the spring framework");
}
}


 




 import org. Springframework. Context. The ApplicationContext. 
import org.springframework.context.support.ClassPathXmlApplicationContext;
Public class testcs {
Public static void main (String [] args) {
ApplicationContext context=new ClassPathXmlApplicationContext (" spring - config. XML ");
Cs cs1=(cs) context) getBean (" hello ");
Cs1. The show ();
}
}

  • Related