Hi Leonardo, How Hibernate Interceptor injects classes in Wicket classes ?!
Wicket serializes the Page instance and everything in it, i.e. components, their models, etc. For some reason you pass non-serializable instance of one of your Viaggio*** classes to a Wicket component/model. Show us the related code so we can take a look and tell you what is not correct! On Sun, Jan 28, 2018 at 12:30 PM, Leonardo D'Alimonte < leonardo.dalimo...@loginet.it> wrote: > Hi Martin, > actually ViaggioService comes from a domain class, ViaggioRete, where is > injected through a custom Hibernate Interceptor. > > At the moment, it seems I have to let all my code implement the > Serializable > interface, but it doesn't sound as the correct option. Futhermore, I got > stuck on Spring classes, like XmlWebApplicationContext or > ServiceLocatorFactoryBean.ServiceLocatorInvocationHandler(), that are not > serializable. > > Maybe I need to go through big changes on my business logic to avoid these > kind of problems? > > Sorry if I'm bothering you but I really would like to come to an end on > this > migration :) > > -- > Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum- > f1842947.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >