synergyj/grails-spring-social-core — Issue #6: Error to inject connectionRepository to controller
Author: albertwinner
Created: 2012-03-04 06:56:17+00:00
State: open

My grails version is 2.0.1.

I just declare the connectionRepository through "def connectionRepository" in my controller. But when I call any method of connectionRepository, the following error occurs:

Caused by AopConfigException: Could not generate CGLIB subclass of class [class org.springframework.social.connect.jdbc.JdbcConnectionRepository]: 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
->> 31 | isConnected in SpringSocial××××Controller.groovy