Maven + spring + springMVC + mybatis + Junit + Log4j configuration personal summary, mavenspringmvc

Source: Internet
Author: User

Maven + spring + springMVC + mybatis + Junit + Log4j configuration personal summary, mavenspringmvc
First paste the project reference address: Success. 2. Pay attention to the two URLhttp: // localhost: 8080/springmvc_mybatis_demo/user/showInfo/1.html s http: // localhost: 8080/springmvc_mybatis_demo/user/showInfos.html s Note: Where is the suffix htmls determined? Is determined by <url-pattern> in <servlet-mapping> In the spring-mvc.xml file. If you don't want any suffix, you can use/to represent
Attaches the code for self-debugging: (tested) address is commonly used http://pan.baidu.com/s/1nuA31jz command window: window -- Show View -- Other -- Problems can View the specific error information of the project; talk about Maven build, maven install and Maven cleanMaven clean mainly clears the structure generated under the target directory. It can be used after the POM is modified; in Maven build, you can enter the golas command to implement the clean/compile/packageMaven install implementation process as compile-test-package -- install.

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.