Spring MVCぷらぐインにValidattion機能を追加した。
Spring in Action 2nd Edの517ページには、mavenのdependecyがあるが、これが間違っている
<dependency>
<groupId>org.springmodules</groupId>
<artifactId>spring-modules-validation</artifactId>
<version>0.8</version>
<scope>compile</scope>
</dependency>
が正しい。
それからvalidation-rules.xmlをとこから取得すればよいか迷ったが、org.springmodulesからzipファイルを ダウンロードし、そのsampleに入っているものを使用したら、正常に動作した。 違うバージョンだと動作しないので、注意が必要!