Merhaba, I found the problem. My problem was mixing the Wicket and Spring configurations. I had used both SpringBean and Spring's Autowire mechanisms in some places... Now, I modified the code and used only @SpringBean. Everything is working properly.
2011/6/2 Altuğ Bilgin Altıntaş <alt...@gmail.com> > Merhaba izlem; > > I think you should look at Proxy-based Approach. Spring and Wicket > integration type is important. > > Please visit : https://cwiki.apache.org/WICKET/spring.html. > > A. > > 01 Haziran 2011 20:02 tarihinde İzlem Gözükeleş <izl...@gmail.com> yazdı: > > > Furthermore, I changed the source code of spring framework and added > serial > > interface for the class raising exception ( > > > > > org.springframework.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImp). > > and built it again. > > > > Application passed this exception, yet raised another > > NotSerializableException for another class from the same package ( > > org.springframework.aop.aspectj.annotation). > > > > Is it possible to use spring's aspect annotations with wicket? > > > > Secondly, there are third party libraries containg classes which > > aren't Serializable. > > How can we inject these type of classes? > > > > Thanks, > > > > > > -- > *Altuğ* > *www.kodcu.com* <http://www.kodcu.com>** >