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