Thanks a lot!
> Am 12.02.2015 um 20:12 schrieb Rodrigo Ribeiro Miguele > <rodrigo.migu...@maps.com.br>: > > Just make your class implement an interface then use it instead your class > when injecting your bean. > > 2015-02-12 16:17 GMT-02:00 Chris <chris...@gmx.at>: > >> 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: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > -- > Rodrigo Ribeiro Miguele --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org