Spring Integration 2.1.0 と Spring Batch 2.2.7 を使用する既存の Web アプリケーションがあります。
この既存の Web アプリに Spring Batch Admin を組み込みたいのですが、うまくいきません。
現在の Spring Batch Admin リリース (1.2.1) を使用しようとすると、次のエラーが発生します。
SEVERE: クラス org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.parsing.BeanDefinitionParsingException のリスナー インスタンスにコンテキスト初期化イベントを送信する例外: 構成の問題: URL の場所から Bean 定義をインポートできませんでした [classpath*: /META-INF/spring/batch/bootstrap/**/*.xml]
原因: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: 構成の問題: 以前のバージョンの Spring Integration スキーマを Spring Integration 2.1 で使用することはできません。スキーマ宣言をアップグレードするか、バージョンレス エイリアス (例: spring-integration.xsd) を使用してください。
Spring Integration バージョンをダウングレードしたくないので、Spring Batch Admin の 1.3.0.M1 (マイルストーン) バージョンを使用しようとしました。次に、別の「Spring Integrationのバージョンの不一致の問題」と思われるものを取得します...
SEVERE: StandardWrapper.Throwable org.springframework.beans.factory.parsing.BeanDefinitionParsingException: 構成の問題: URL の場所から Bean 定義をインポートできませんでした [classpath*:/META-INF/spring/batch/servlet/manager/*.xml]問題のあるリソース: ServletContext リソース [/WEB-INF/spring/batch-admin/batch-admin-context.xml]; ネストされた例外は org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 372 in XML document from URL [jar:file:/D:/axon-sevl/workspace-git/.metadata/.plugins/org.eclipse. wst.server.core/tmp0/wtpwebapps/sii-web/WEB-INF/lib/spring-batch-admin-manager-1.3.0.M1.jar!/META-INF/spring/batch/servlet/manager/integration -context.xml] は無効です。ネストされた例外は org.xml.sax.SAXParseException です。システム ID:http://www.springframework.org/schem...tion-http.xsd ; 行番号: 372; columnNumber: 119; src-resolve: 名前 'integration:adviceChainType' を a(n) 'type definition' コンポーネントに解決できません。
それを機能させることができた人はいますか、それとも現在使用しているSpring Integrationのバージョンを絶対に変更する必要がありますか?
前もって感謝します!