Eclipse's approach to building a spring project

Source: Internet
Author: User
Tags zip

In the online search for a special lecture on spring Courseware, the results of the courseware inside the figure is not out, the original thought is the courseware itself problem, the results see a lot of people in the comments said the figure is not out, on a person said to show out, then I replaced the Firefox, unexpectedly became. Spring Courseware url:http://sishuok.com/forum/blogcategory/showbycategory/40/49.html?user_id=2

The way to build a simple project:
Installing the Plugin method: Install New Software
First install the SpringSource Tool Suite plugin dependency:
Name is: SpringSource Tool Suite
Location: http://dist.springsource.com/release/TOOLS/update/e3.6
Paste the URL on work with, wait for the reaction, then select only ASPECTJ development Tools (required)
Aspect Development Tools Source (Optional)
Other Ajdi tools (Optional)
Wait for the response, and then eclipse will prompt you to delete what you have to delete.

Step Two:
Name is: SpringSource Tool Suite

Location: http://dist.springsource.com/release/TOOLS/update/e3.6
Core/spring IDE
Extensions (incubation)/spring IDE
Extensions/spring IDE
Integrations/spring IDE

The third step is to import the jar package,
Core JAR Package: Find the following jar package from the Dist directory in the downloaded Spring-framework-3.0.5.release-with-docs.zip
Org.springframework.asm-3.0.5.release.jar
Org.springframework.core-3.0.5.release.jar
Org.springframework.beans-3.0.5.release.jar
Org.springframework.context-3.0.5.release.jar
Org.springframework.expression-3.0.5.release.jar

Dependent jar Package: Find the following dependent jar package from the downloaded Spring-framework-3.0.5.release-dependencies.zip
Com.springsource.org.apache.log4j-1.2.15.jar
Com.springsource.org.apache.commons.logging-1.1.1.jar
Com.springsource.org.apache.commons.collections-3.2.1.jar
The second one of my resources has been uploaded.

And then you can create the Java project.
The name is Chapter2, then Properties,java Build Path, select Libraries, then add JARs (Lib package), add Library (JUNIT->JUNIT4), So everything needed for the whole project is ready.

Build a source folder type of resources, and then build a file below for chapter, this folder is placed under the configuration file.

The file structure is:
SRC---java file (System comes with)
Resources-----Configuration Files
JRE system Library (systems comes with)
Junit 4
Referenced Libraries (automatically generated after importing the package)
LIB------jar Package

and build the project based on this.

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.