实习心得体会---idea+SSM整合20190713

本文记录了使用IDEA进行SSM(Spring、SpringMVC、Mybatis)整合的详细步骤,包括建立数据库、创建Maven项目、配置实体类、设置目录结构以及配置Spring和Mybatis等关键环节。
摘要由CSDN通过智能技术生成

使用资料:

https://blog.csdn.net/weixin_42747657/article/details/81160501

1,mysql   2,tomcat  3,idea   4,spring

5,springmvc  6,springmvc   7,mybatis   8,maven

步骤:

1,建立数据库

JDBC---执行流程--》bean-->dao-->service--->controller-->页面

执行流程:页面----》controller-----》service----->dao--->bean

建立表

2,用maven创建项目

三,导包

pom.xml  修改文件

<properties>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<maven.compiler.source>1.7</maven.compiler.source>

<maven.compiler.target>1.7</maven.compiler.target>

<!-- spring版本号 -->

<spring.version>5.0.2.RELEASE</spring.version>

<!-- mybatis版本号 -->

<mybatis.version>3.2.6</mybatis.version>

<!-- log4j日志文件管理包版本 -->

<slf4j.version>1.7.7</slf4j.version>

<log4j.version>1.2.17</log4j.version>

<c3p0.version>0.9.5.2</c3p0.version>

<taglibs.version>1.1.2</taglibs.version>

</properties>



<dependencies>

<!-- spring核心包 -->

<dependency>

<
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值