It seems like i am using version 2 of Spring. On Nov 19, 2007 4:28 PM, Michael Horwitz <[EMAIL PROTECTED]> wrote: > It looks like your Spring dependency may be of the wrong version. Which > version of Spring are you using? > > Mike. > > > On 11/19/07, Richard Nduka <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi, > > > > I was just trying to read through Spring Live and follow along with > > the practice examples and on running the UserControllerTest in chapter > > 4 i get the error below: > > > > [junit] Testcase: > > testGetUsers(com.softforce.schoolnet.controller.UserControllerTest): > Caused > > an ERROR > > [junit] org.springframework.util.ReflectionUtils.isPublicStaticFinal > (Ljava/lang/reflect/Field;)Z > > [junit] java.lang.NoSuchMethodError: > > > org.springframework.util.ReflectionUtils.isPublicStaticFinal(Ljava/lang/reflect/Field;)Z > > [junit] at org.springframework.core.Constants.<init>( > Constants.java:68) > > [junit] at > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.<clinit>(XmlBeanDefinitionReader.java:95) > > [junit] at > org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions > (XmlWebApplicationContext.java:81) > > [junit] at > org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94) > > [junit] at > org.springframework.context.support.AbstractApplicationContext.refresh > (AbstractApplicationContext.java:294) > > [junit] at > org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156) > > [junit] at > com.softforce.schoolnet.controller.BaseControllerTestCase.setUp > (BaseControllerTestCase.java:25) > > [junit] at > com.softforce.schoolnet.controller.UserControllerTest.setUp(UserControllerTest.java:15) > > > > Please has anyone encountered this error before as i have spent quite > > some considerable time trying to resolve it. > > > > Thanks in advance. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
