Hi, yes it is a Spring requirement that a bean must have a default constructor. Otherwise use a bean factory.
kind regards Tobias > Am 12.02.2015 um 21:13 schrieb Andrea Del Bene <[email protected]>: > > Hi, > > it looks like more a Spring problem rather than a Wicket one. What's your > full stacktrace? >> Hi, >> >> when injecting a bean via @SpringBean annotation into a Wicket page, this >> bean must provide a default constructor, otherwise I am receiving the error: >> java.lang.IllegalArgumentException: Superclass has no null constructors but >> no arguments were given >> >> Is there a solution to inject beans without no-arg constructors? >> >> thanks a lot, >> Chris >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
