Jar usage actions for the SSM framework

Source: Internet
Author: User

How to use the jar package for spring integrated MyBatis


Commons-dbcp-1.4.jar relies on Commons-pool-1.5.4.jar for DBCP data source configuration

Mybatis-spring-1.3.1.jar for configuring Sqlsessionfactorybean

Spring-jdbc-4.1.6.release.jar New Sqlsessionfactorybean jar package for error
Spring-tx-4.1.6.release.jar two jar packages needed to run a pipe transaction


@RunWith (Springjunit4classrunner.class)
@ContextConfiguration ("Classpath:applicationContext.xml")
The Spring-test-4.1.6.release.jar is used to invoke the above two lines of code declaration calls in test using the


Spring-web-4.1.6.release.jar use configuration Contexloaderlistener to configure the listener with this package <listener>
Configuration context parameter specifies the path and name of the spring configuration file
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext.xml</param-value>
</context-param>

Mail-1.4.7.jar the jar package that Java uses to send mail
Spring-context-support-4.1.6.release.jar Spring simplifies the jar packages needed to send mail

SPRINGMVC integrated MyBatis the need to use the operation is then updated, I hope to help everyone

Jar usage actions for the SSM framework

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.