Mybatis-config.xml
Mybatis-config.xml一般为Mybatis的主配置文件, 一个工程只能有一个
整合ssm框架时报错 java.lang.AbstractMethodError:Method com/mchange/v2/c3p0/impl/NewProxyResultSet.isClosed
导致 500 内部服务器错误, c3p0 连接池错误
运行环境:
IntelliJ IDEA 2021.2.3 (Ultimate Edition)
Build #IU-212.5457.46, built on October 12, 2021
Runtime version: 11.0.12+7-b1504.40 amd64
SSM
Spring+SpringMVC+MyBatis 三个框架的基础项目整合环境搭建
使用Maven工程进行依赖管理
搭建环境: IDEA 2021.2.3 (Ultimate Edition), Windows10 64位系统
IntelliJ IDEA 2021.2.3 (Ultimate Edition)
Build #IU-212.5457.46, built on October 12, 2021
Runtime version: 11.0.12+7-b1504.40 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
使用IDEA版本 2021.2.3 (Ultimate Edition)
IntelliJ IDEA 2021.2.3 (Ultimate Edition)
Build #IU-212.5457.46, built on October 12, 2021
Runtime version: 11.0.12+7-b1504.40 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
配置git并上传到github仓库