Use STS (Spring Tools Suite) to create a spring configuration file

Source: Internet
Author: User
Tags java web

Since the beginning of the Java Web to learn the SSM framework now, configuration files are often another headache for me. Personally a bit obsessive-compulsive disorder, if which xsi:schemalocation version is wrong, or add superfluous statement, I am not comfortable. But you have to add a blank XML first, and then copy the declarations that you have organized. Today, when we look at the SSM learning tutorial, I see that some people have the same question, and there is a "Daniel" pointing to the maze, you can use the STS directly create an optional and complete spring configuration file, rejoice, tidy up a bit.

1, Eclipse installation sts:eclipse Marketplace Direct Search STS installation.

2. New file, New>>other, Wizard search spring.

3. After you type the file name, next, select the XSD namespace declaration that you want to import. You can also choose your own version, and the default declaration will be imported if you don't choose. Next.

4, after the good XML file has been generated, if found more or less declaration, you can switch to namespaces for modification.

Use STS (Spring Tools Suite) to create a spring configuration file

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.