rajdeeplahkar
Jul 14th, 2011, 12:06 PM
Hi,
I am getting the following error when i declare ConnectController as a bean in my application-context xml file.
<bean class="org.springframework.social.connect.web.ConnectCont roller">
<property name="applicationUrl" value="${application.url}" />
</bean>
22:33:30.261 [[ERROR] DispatcherServlet] Context initialization failed
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.De faultAnnotationHandlerMapping#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.social.connect.web.ConnectCon troller#0' defined in ServletContext resource [/WEB-INF/spring-context/application-context.xml]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigExcepti on: Could not generate CGLIB subclass of class [class org.springframework.social.connect.web.ConnectCont roller]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given
I am using Spring core 3.0.5 and Spring social 1.0 RC1
Would really appreciate if someone can help me out regarding this.
Thanks and regards
Rajdeep
I am getting the following error when i declare ConnectController as a bean in my application-context xml file.
<bean class="org.springframework.social.connect.web.ConnectCont roller">
<property name="applicationUrl" value="${application.url}" />
</bean>
22:33:30.261 [[ERROR] DispatcherServlet] Context initialization failed
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.De faultAnnotationHandlerMapping#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.social.connect.web.ConnectCon troller#0' defined in ServletContext resource [/WEB-INF/spring-context/application-context.xml]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigExcepti on: Could not generate CGLIB subclass of class [class org.springframework.social.connect.web.ConnectCont roller]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given
I am using Spring core 3.0.5 and Spring social 1.0 RC1
Would really appreciate if someone can help me out regarding this.
Thanks and regards
Rajdeep