前几天新建模块用的5.2.10.RELEASE可以运行
昨天一模一样的就是运行不起来,改成5.3.4就可以了,有人能解释一下是啥原因吗
依赖:
<dependency>
<gr oupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>5.2.10.RELEASE</version>
</dependency>
Caused by: java.lang.ClassNotFoundException: org.springframework.jdbc.support.JdbcTransactionManager
运行成功:
{
CreateTime:"2022-12-06 09:52:57",
ActiveCount:0,
PoolingCount:0,
CreateCount:0,
DestroyCount:0,
CloseCount:0,
ConnectCount:0,
Connections:[
]
}
修改版本要其他模块的版本一起修改,不能只修改这一个jar包的版本
这样写可以的?