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,