If you add an explicit dependency on commons-lang-2.1 to your pom.xml, it should fix any transitive dependency issues. The problem is likely because struts-menu (or another library) depends on a newer version of commons-lang. You can run "mvn -X > mvn.log" to see the full dependency list in mvn.log.
Matt On 7/17/07, syg6 <[EMAIL PROTECTED]> wrote:
I have been working with Appfuse M5 for a couple weeks now. I had no problem with anything while working with the JAR-ed and WAR-ed version. But then I have 'exploded' Appfuse into my Eclipse using 'mvn appfuse:full-source' and 'mvn eclipse:eclipse'. And now when I run 'mvn test -Dtest=PersonControllerTest' I get this error: java.lang.NoSuchFieldError: IS_JAVA_1_6 at org.springmodules.validation.util.LibraryUtils.<clinit>(LibraryUtils.java:40) http://forum.springframework.org/archive/index.php/t-35083.html This post seems to say that the Spring Validation framework has a dependency on commons-lang-2.1, whereas Appfuse uses commons-lang-2.3. But I can't find commons-lang-2.1 anywhere in Appfuse and this wasn't happening before using the exploded verison of Appfuse. Btw, I am using Spring MVC Basic. Many thanks! Bob -- View this message in context: http://www.nabble.com/Problems-executing-controller-test-after-running-mvn-appfuse%3Afull-source-tf4097676s2369.html#a11652009 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
