Just to summarize my status: I've added addComponentInstantiationListener( new SpringComponentInjector(this) ); to the init method of my xxxApplication file, I added to my applicationContext and withing my WebPage I have this code:
public class Test extends WebPage { @SpringBean private UserService userService; public Test( PageParameters params ) { (...) } If I add to the applicationContext I get the error "Could not instantiate bean class [de.Test]: No default constructor found;" If I don't add this line I get the error message "WicketMessage: Can't instantiate page using constructor public de.Test(org.apache.wicket.PageParameters) and argument Root cause: java.lang.ClassNotFoundException: net.sf.cglib.proxy.Callback (...)" At the moment I'm at a loss. Every help would be appreciated. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problems-with-spring-integration-tp3416484p3418488.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org