Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
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
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Regarding Spring Modules Validator
How to get rid of this Spring start up error?
Expert Spring MVC and Web Flow by Seth Ladd et al
Spring framework, module and Jakarta Commons
Spring 3.0 - General Question
Spring Web Flow 2 Web Development
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015