This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Problems with proxy and object pooling

Jul 24th, 2006, 12:56 PM

Hi

I am running Spring 1.2.8. I am starting a Singleton context listener in a web app. The singleton provides access to the Object Pool from Jakarta Commons Pooling. When the web app starts I am getting the following error

In order to proxy classes (as opposed to interfaces) CGLIB library is required (as specified by the exception message). In your case the EIServiceBean class doesn't contain any interfaces (which can be used for proxying) so Spring has to proxy the class and hence the requirement for CGLIB.