idea在spring.xml的命名空间自动导入xmlns:tx=“http://www.springframework.org/schema/tool” 时url 没有配置好,最后的tool改成tx就好了