File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Regarding Spring Modules Validator
Joined: Mar 29, 2012
Nov 30, 2012 01:57:26
Is Spring-Modules-Validator supported by Spring 3.x ?
I have seen examples of it with Spring 2.x, but not so sure how to use it with version 3 and above.
Joined: Mar 07, 2010
Nov 30, 2012 07:16:23
If you provide the correct exclusions in your POM file you can use it (try below and if it does not work use the
dependency tree to figure out what else is being pulled in.
<dependency> <groupId>org.springmodules</groupId> <artifactId>spring-modules-validation</artifactId> <version>0.8</version> <exclusions> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring</artifactId> </exclusion> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-mock</artifactId> </exclusion> </exclusions> </dependency>
But to your question, this is not used much anymore as the preferred validation approach has changed. Have a look at your other thread I posted in.
How To Ask Questions
Read before you PM me
I agree. Here's the link:
subject: Regarding Spring Modules Validator
Spring framework, module and Jakarta Commons
Issue while adding commons validator dependency in pom.xml of Spring 3.1 project
How to get rid of this Spring start up error?
Expert Spring MVC and Web Flow by Seth Ladd et al
Spring 3.0 - General Question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014