2016-08-01 23 views
0

私はftpとのバネ統合を使用しています。私はint-ftp:inbound-channel-adapterを使用する場合、それは正常に動作しているが、int-ftp:inbound-streaming-channel-adapter次のエラーが得られます。FTPとインバウンドストリーミングチャネルアダプタとの統合

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'int-ftp:inbound-streaming-channel-adapter

私は何をしないのだろうか?

私のコードの関連部分は、あなたの依存関係の春の統合4.3.1.RELEASEで

<int-ftp:inbound-streaming-channel-adapter id="ftpInbound" 
     channel="ftpChannel" 
     session-factory="ftpClientFactory" 
     filename-pattern="*.txt" 
     filename-regex=".*\.txt" 
     filter="customFilter" 
     remote-file-separator="/" 
     comparator="comparator" 
     remote-directory-expression="'/OUT/SDI402_CARATT_JD'"> 
    <int:poller fixed-rate="1000" /> 
</int-ftp:inbound-streaming-channel-adapter> 
+0

私は質問を整理しましたが、あなたのコードのサンプルはあなたの質問に非常に役立ちます。 – Andy

+0

コードタグを4つのスペースで固定しました。あなたはスポイラータグを追加していました:) – Andy

+0

あなたはこれを解決しましたか?もしそうなら、解決策は何ですか? – Steve

答えて

0

の使用です。それは私の場合とまったく同じ問題を解決しました。

+0

次のpomエントリを使用していますが、まだエラーが表示されています。 \t \t \t org.springframework.integration \t \t 春-統合コア \t \t XMLで4.3.1.RELEASE \t \t

+0

、私は、次のURLを使用しています のhttp:/ /www.springframework.org/schema/integration/ftp/spring-integration-ftp.xsd。私はftpの名前で任意のフォルダを参照していない、これが原因である可能性がありますエラーが発生している –