エラーメッセージから問題を明確に知ることができるXML設定ファイルを発生します
<?xml version = "1.0"エンコード= "UTF-8"?> <豆のxmlns = "http://www.springframework.org/schema/beans" のxmlns:XSI = "http://www.w3.org / 2001 / XMLスキーマ・インスタンス" のxmlns:コンテキスト = "http://www.springframework.org/schema/context" のxmlns:豆 = "http://www.springframework.org/schema/beans" のxmlns:MVC =" http://www.springframework.org/schema/mvc " のxmlns:TX = "http://www.springframework.org/schema/tx" のxmlns:AOP =" http://www.springframework.org/schema/ AOP " のxsi:schemaLocationの =" http://www.springframework.org/schema/beans のhttp://www.springframework.org/schema/beans/spring-beans-4.3.xsd ます。http:// www.springframework.org/schema/context ます。http:// www.springframework.org/schema/context/spring-context-4.3。 XSD のhttp:// www.springframework.org/schema/mvc ます。http:// www.springframework.org/schema/mvc/spring-mvc-4.3.xsd ます。http:// www.springframework.org/schema/tx ます。http:// www.springframework.org/schema/tx/spring-tx-4.3.xsd ます。http:// www.springframework.org/schema/aop ます。http://www.springframework.org/schema/aop/spring-aop-4.3.xsd ">
解決策:これは設定の問題は、2 1が存在する上記の設定のxmlnsとXSIとの間の関係に対応していることを確認してくださいものです。として
xmlns:TX = "http://www.springframework.org/schema/tx"
对应
XSI:のschemaLocation = "http://www.springframework.org/schema/beans
下さい的
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.3.xsd