Hi,
I am trying to create a session bean in spring mvc. I am having the following error message when I run my google app engine server in my local box:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'siteController' defined in ServletContext resource [/WEB-INF/springapp-servlet.xml]: Cannot resolve reference to bean 'oAuth' while setting bean property 'oAuth'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oAuth' defined in BeanDefinition defined in ServletContext resource [/WEB-INF/springapp-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: **Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.**
This is my spring mvc configuration:
<bean name="oAuth" class="org.locate.server.FoursquareMgr" scope="session">
<aop:scoped-proxy/>
</bean>
<bean name="siteController" class="org.locate.server.SiteController" >
<property name="oAuth" ref="oAuth"></property>
</bean>
I have enabled session in my google app engine appengine-web.xml file
<sessions-enabled>true</sessions-enabled>
I have included CGLIB2: cglib-2.1_3.jar and cglib-nodep-2.1_3.jar in my eclipse project build path.
Has any one encountered this problem before ?