I got a exception while deploying spring mvc in jboss as 7.1.1final
thiruroyal Sep 23, 2013 1:22 AMI got this excepion.
ERROR [org.springframework.web.context.ContextLoader] (MSC service thread 1-13) Context initialization failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'urlMapping' defined in ServletContext resource [/WEB-INF/TBComGUI-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exclusionAccountsController' defined in ServletContext resource [/WEB-INF/TBComGUI-servlet.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.springframework.web.servlet.mvc.multiaction.ParameterMethodNameResolver] to required type [org.springframework.web.servlet.mvc.multiaction.MethodNameResolver] for property 'methodNameResolver'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.springframework.web.servlet.mvc.multiaction.ParameterMethodNameResolver] to required type [org.springframework.web.servlet.mvc.multiaction.MethodNameResolver] for property 'methodNameResolver': no matching editors or conversion strategy found
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547) [spring-2.5.jar:2.5]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485) [spring-2.5.jar:2.5]
at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_25]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) [spring-2.5.jar:2.5]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251) [spring-2.5.jar:2.5]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169) [spring-2.5.jar:2.5]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248) [spring-2.5.jar:2.5]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170) [spring-2.5.jar:2.5]
Please give me a clue to remove this error.