缺少Jar包,spring-tx-5.0.7.RELEASE.jar。 可以去官网下,注意版本。 https://spring.io/projects/spring-framework#learn 点击小猫头像,进入GitHub下载。